mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-29 22:40:06 +00:00
Can't use ${CMAKE_BUILD_TYPE} in conditional expression with multi-config
This commit is contained in:
parent
dbfacdfd28
commit
fef83c8aa7
1 changed files with 0 additions and 7 deletions
|
|
@ -22,13 +22,6 @@ set_property(DIRECTORY
|
||||||
PROPERTY CMAKE_CONFIGURE_DEPENDS
|
PROPERTY CMAKE_CONFIGURE_DEPENDS
|
||||||
conanfile.py)
|
conanfile.py)
|
||||||
|
|
||||||
# Don't use RelWithDebInfo Conan packages
|
|
||||||
if (${CMAKE_BUILD_TYPE} STREQUAL "RelWithDebInfo")
|
|
||||||
set(conan_build_type "Release")
|
|
||||||
else()
|
|
||||||
set(conan_build_type ${CMAKE_BUILD_TYPE})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
conan_cmake_autodetect(settings
|
conan_cmake_autodetect(settings
|
||||||
BUILD_TYPE ${conan_build_type})
|
BUILD_TYPE ${conan_build_type})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue