equal
deleted
inserted
replaced
196 |
196 |
197 |
197 |
198 #SOURCE AND PROGRAMS SECTION |
198 #SOURCE AND PROGRAMS SECTION |
199 if(BUILD_ENGINE_LIBRARY) |
199 if(BUILD_ENGINE_LIBRARY) |
200 message("***Engine will be built as library (experimental)***") |
200 message("***Engine will be built as library (experimental)***") |
201 if(APPLE AND ${current_macosx_version} VERSION_GREATER "10.5") |
201 if(APPLE) |
202 # due to compiler/linker issues on Max OS X 10.6 -k-no_order_inits is needed to avoid linking fail |
202 if (${current_macosx_version} VERSION_GREATER "10.5") |
203 add_flag_prepend(CMAKE_Pascal_FLAGS "-k-no_order_inits") |
203 # due to compiler/linker issues on Max OS X 10.6 -k-no_order_inits is needed to avoid linking fail |
|
204 add_flag_prepend(CMAKE_Pascal_FLAGS "-k-no_order_inits") |
|
205 endif() |
204 endif() |
206 endif() |
205 |
207 |
206 #workaround for missing <TARGET> support during object generation |
208 #workaround for missing <TARGET> support during object generation |
207 set(engine_output_name "${CMAKE_SHARED_LIBRARY_PREFIX}hwengine${CMAKE_SHARED_LIBRARY_SUFFIX}") |
209 set(engine_output_name "${CMAKE_SHARED_LIBRARY_PREFIX}hwengine${CMAKE_SHARED_LIBRARY_SUFFIX}") |
208 set(destination_dir ${target_library_install_dir}) |
210 set(destination_dir ${target_library_install_dir}) |