mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
CMake: Fix CMAKE_CONFIGURATION_TYPES not being set properly in the cache
This commit is contained in:
parent
1070299a9d
commit
f26f7d2226
@ -40,6 +40,7 @@ endif()
|
||||
|
||||
if(IS_MULTICONFIG)
|
||||
message(STATUS "Using multi-configuration generator")
|
||||
set(CMAKE_CONFIGURATION_TYPES "${_configs}" CACHE STRING "")
|
||||
else()
|
||||
# Set the default CMAKE_BUILD_TYPE before calling project().
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
|
@ -29,10 +29,6 @@ if(DEFINED CMAKE_CXX_FLAGS_COVERAGE)
|
||||
list(APPEND _configs Coverage)
|
||||
endif()
|
||||
|
||||
if(IS_MULTICONFIG)
|
||||
set(CMAKE_CONFIGURATION_TYPES ${_configs})
|
||||
endif()
|
||||
|
||||
# Are we building with static or dynamic linking?
|
||||
option(BUILD_SHARED_LIBS
|
||||
"Causes subpackages to be built separately -- setup for dynamic linking.
|
||||
|
Loading…
x
Reference in New Issue
Block a user