mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-29 23:10:06 +00:00
Don't use RelWithDebInfo Conan packages
- Some packages fail to build (e.g., libtool)
This commit is contained in:
parent
aee4fecacc
commit
6e4b9cd331
1 changed files with 9 additions and 1 deletions
|
|
@ -17,7 +17,15 @@ set_property(DIRECTORY
|
|||
PROPERTY CMAKE_CONFIGURE_DEPENDS
|
||||
conanfile.txt)
|
||||
|
||||
conan_cmake_autodetect(settings)
|
||||
# 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
|
||||
BUILD_TYPE ${conan_build_type})
|
||||
|
||||
conan_cmake_install(PATH_OR_REFERENCE ${PROJECT_SOURCE_DIR}
|
||||
BUILD missing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue