mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 22:42:31 +02:00
fix debug config handling of release faceshift lib
This commit is contained in:
parent
6d38b1fe72
commit
22c7d4032b
1 changed files with 6 additions and 2 deletions
8
cmake/externals/faceshift/CMakeLists.txt
vendored
8
cmake/externals/faceshift/CMakeLists.txt
vendored
|
@ -27,8 +27,12 @@ set(LIBRARY_RELEASE_PATH "lib/Release")
|
|||
if (WIN32)
|
||||
set(LIBRARY_PREFIX "")
|
||||
set(LIBRARY_EXT "lib")
|
||||
# use RelWithDebInfo in release path when building RelWithDebInfo config on Windows
|
||||
set(LIBRARY_RELEASE_PATH "$<$<CONFIG:RelWithDebInfo>:build/RelWithDebInfo>$<$<CONFIG:MinSizeRel>:build/MinSizeRel>$<$<CONFIG:Release>:lib/Release>")
|
||||
# use selected configuration in release path when building on Windows
|
||||
set(LIBRARY_RELEASE_PATH """
|
||||
$<$<CONFIG:RelWithDebInfo>:build/RelWithDebInfo>
|
||||
$<$<CONFIG:MinSizeRel>:build/MinSizeRel>
|
||||
$<$<OR:<$<CONFIG:Release>,$<CONFIG:Debug>>:lib/Release>
|
||||
""")
|
||||
elseif (APPLE)
|
||||
set(LIBRARY_EXT "a")
|
||||
set(LIBRARY_PREFIX "lib")
|
||||
|
|
Loading…
Reference in a new issue