project_files/hwc/CMakeLists.txt
branchwebgl
changeset 8448 14f736ca7eb3
parent 8332 9333216f2054
child 8853 ef59a44a9f08
equal deleted inserted replaced
8446:c18ba8726f5a 8448:14f736ca7eb3
     6 find_package(SDL_net REQUIRED)
     6 find_package(SDL_net REQUIRED)
     7 find_package(SDL_image REQUIRED)
     7 find_package(SDL_image REQUIRED)
     8 find_package(SDL_ttf REQUIRED)
     8 find_package(SDL_ttf REQUIRED)
     9 
     9 
    10 #compile our rtl implementation
    10 #compile our rtl implementation
       
    11 include_directories(${GLEW_INCLUDE_DIRS})
       
    12 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/rtl)
    11 add_subdirectory(rtl)
    13 add_subdirectory(rtl)
    12 include_directories("${GLEW_INCLUDE_PATH}")
       
    13 include_directories("${CMAKE_CURRENT_SOURCE_DIR}/rtl")
       
    14 
    14 
    15 configure_file(${CMAKE_SOURCE_DIR}/hedgewars/config.inc.in ${CMAKE_CURRENT_BINARY_DIR}/config.inc)
    15 configure_file(${CMAKE_SOURCE_DIR}/hedgewars/config.inc.in ${CMAKE_CURRENT_BINARY_DIR}/config.inc)
    16 
    16 
    17 #get the list of pas files that are going to be converted and compiled
    17 #get the list of pas files that are going to be converted and compiled
    18 file(GLOB engine_sources_pas "${CMAKE_SOURCE_DIR}/hedgewars/*.pas")
    18 file(GLOB engine_sources_pas "${CMAKE_SOURCE_DIR}/hedgewars/*.pas")