diff options
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/cmake/00-Common.cmake | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/linden/indra/cmake/00-Common.cmake b/linden/indra/cmake/00-Common.cmake index 7e85ce0..1a24a41 100644 --- a/linden/indra/cmake/00-Common.cmake +++ b/linden/indra/cmake/00-Common.cmake | |||
@@ -14,10 +14,13 @@ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO | |||
14 | "-DLL_RELEASE=1 -D_SECURE_SCL=0 -DLL_SEND_CRASH_REPORTS=0 -DNDEBUG -DLL_RELEASE_WITH_DEBUG_INFO=1") | 14 | "-DLL_RELEASE=1 -D_SECURE_SCL=0 -DLL_SEND_CRASH_REPORTS=0 -DNDEBUG -DLL_RELEASE_WITH_DEBUG_INFO=1") |
15 | 15 | ||
16 | 16 | ||
17 | # Don't bother with a MinSizeRel build. | 17 | # Available build types / configurations. |
18 | # Add our current build type first, to coax Xcode into selecting it by default. | ||
18 | 19 | ||
19 | set(CMAKE_CONFIGURATION_TYPES "RelWithDebInfo;Release;Debug" CACHE STRING | 20 | set(TYPES ${CMAKE_BUILD_TYPE} RelWithDebInfo Release Debug) |
20 | "Supported build types." FORCE) | 21 | list(REMOVE_DUPLICATES TYPES) |
22 | set(CMAKE_CONFIGURATION_TYPES ${TYPES} CACHE STRING "Supported build types." FORCE) | ||
23 | unset(TYPES) | ||
21 | 24 | ||
22 | 25 | ||
23 | # Determine the number of bits of this processor | 26 | # Determine the number of bits of this processor |