hedgewars/CMakeLists.txt
changeset 13943 3a0d09a31f5f
parent 13904 99b265e0d1d0
child 14865 9e8c201eae9d
equal deleted inserted replaced
13942:939641cdb94f 13943:3a0d09a31f5f
   184 set(sourcefiles_sofar "${CMAKE_CURRENT_SOURCE_DIR}/options.inc" "${CMAKE_CURRENT_BINARY_DIR}/config.inc")
   184 set(sourcefiles_sofar "${CMAKE_CURRENT_SOURCE_DIR}/options.inc" "${CMAKE_CURRENT_BINARY_DIR}/config.inc")
   185 foreach(loop_var ${engine_sources})
   185 foreach(loop_var ${engine_sources})
   186     list(APPEND sourcefiles_sofar "${CMAKE_CURRENT_SOURCE_DIR}/${loop_var}")
   186     list(APPEND sourcefiles_sofar "${CMAKE_CURRENT_SOURCE_DIR}/${loop_var}")
   187 endforeach(loop_var)
   187 endforeach(loop_var)
   188 
   188 
       
   189 if (WIN32 AND VCPKG_TOOLCHAIN)
       
   190     add_definitions(-dWIN32_VCPKG)
       
   191 endif()
       
   192 
   189 
   193 
   190 #SOURCE AND PROGRAMS SECTION
   194 #SOURCE AND PROGRAMS SECTION
   191 if(BUILD_ENGINE_LIBRARY)
   195 if(BUILD_ENGINE_LIBRARY)
   192     message("***Engine will be built as library (experimental)***")
   196     message("***Engine will be built as library (experimental)***")
   193     if(APPLE)
   197     if(APPLE)