Changeset 8416 for code/trunk
- Timestamp:
- May 8, 2011, 1:38:58 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/CMakeLists.txt
r8412 r8416 74 74 ADD_COMPILER_FLAGS("-DTIXML_USE_TICPP") 75 75 76 # Default linking for externals is SHARED 77 SET(ORXONOX_EXTERNAL_LINK_MODE "STATIC" CACHE STRING "Link mode for external libraries that we build ourselves. Note: on Windows, some libraries cannot be linked shared.") 76 # Default linking for externals 77 IF(CMAKE_BUILD_TYPE MATCHES "(Debug|RelForDevs)") 78 SET(_default_link_mode "SHARED") 79 ELSE() 80 SET(_default_link_mode "STATIC") 81 ENDIF() 82 SET(_message "Link mode for external libraries that we build ourselves. Note: on Windows, some libraries cannot be linked shared.") 83 SET(ORXONOX_EXTERNAL_LINK_MODE "${_default_link_mode}" CACHE STRING "${_message}") 78 84 79 85 IF(ORXONOX_EXTERNAL_LINK_MODE STREQUAL "SHARED")
Note: See TracChangeset
for help on using the changeset viewer.