project_files/hwc/CMakeLists.txt
branchwebgl
changeset 8047 25a4daa6473c
parent 8044 796f2653f21d
child 8050 c82b68016c68
equal deleted inserted replaced
8044:796f2653f21d 8047:25a4daa6473c
    29 find_package(SDL_net REQUIRED)
    29 find_package(SDL_net REQUIRED)
    30 find_package(SDL_image REQUIRED)
    30 find_package(SDL_image REQUIRED)
    31 find_package(SDL_ttf REQUIRED)
    31 find_package(SDL_ttf REQUIRED)
    32 
    32 
    33 #compile our rtl implementation
    33 #compile our rtl implementation
       
    34 add_subdirectory(rtl)
    34 include_directories("${GLEW_INCLUDE_PATH}")
    35 include_directories("${GLEW_INCLUDE_PATH}")
    35 include_directories("${CMAKE_CURRENT_SOURCE_DIR}/rtl")
    36 include_directories("${CMAKE_CURRENT_SOURCE_DIR}/rtl")
    36 add_subdirectory(rtl)
       
    37 
    37 
    38 
    38 
    39 configure_file(${CMAKE_SOURCE_DIR}/hedgewars/config.inc.in ${CMAKE_CURRENT_BINARY_DIR}/config.inc)
    39 configure_file(${CMAKE_SOURCE_DIR}/hedgewars/config.inc.in ${CMAKE_CURRENT_BINARY_DIR}/config.inc)
    40 
    40 
    41 #get the list of pas files that are going to be converted and compiled
    41 #get the list of pas files that are going to be converted and compiled