hedgewars/CMakeLists.txt
changeset 9339 14f5f3a1e2f7
parent 9302 1cf37fd7bc47
child 9521 8054d9d775fd
child 9650 1c7c87ce37fd
equal deleted inserted replaced
9337:c9d4daae1dee 9339:14f5f3a1e2f7
   161 #needs to be last
   161 #needs to be last
   162 add_definitions(-dDEBUGFILE)
   162 add_definitions(-dDEBUGFILE)
   163 
   163 
   164 #SOURCE AND PROGRAMS SECTION
   164 #SOURCE AND PROGRAMS SECTION
   165 if(BUILD_ENGINE_LIBRARY)
   165 if(BUILD_ENGINE_LIBRARY)
   166     message(${WARNING} "Engine will be built as library (experimental)")
   166     message("***Engine will be built as library (experimental)***")
   167     if(APPLE AND current_macosx_version VERSION_GREATER "10.5")
   167     if(APPLE AND current_macosx_version VERSION_GREATER "10.5")
   168         # due to compiler/linker issues on Max OS X 10.6 -k-no_order_inits is needed to avoid linking fail
   168         # due to compiler/linker issues on Max OS X 10.6 -k-no_order_inits is needed to avoid linking fail
   169         add_flag_prepend(CMAKE_Pascal_FLAGS "-k-no_order_inits")
   169         add_flag_prepend(CMAKE_Pascal_FLAGS "-k-no_order_inits")
   170     endif()
   170     endif()
   171 
   171