mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 03:42:27 +02:00
simplify the RelWithDebInfo check in bullet ext
This commit is contained in:
parent
b023cb71be
commit
654ae5032b
1 changed files with 1 additions and 1 deletions
2
cmake/externals/bullet/CMakeLists.txt
vendored
2
cmake/externals/bullet/CMakeLists.txt
vendored
|
@ -70,7 +70,7 @@ if (DEFINED BULLET_LIB_EXT)
|
|||
|
||||
if (WIN32)
|
||||
# on windows, we might end up with a library that ends with RelWithDebInfo if Visual Studio is building for that configuration
|
||||
set(${EXTERNAL_NAME_UPPER}_${_LIB_VAR_NAME}_RELEASE "${BULLET_LIB_DIR}/${LIB_PREFIX}${_LIB_NAME}$<$<OR:$<CONFIG:RelWithDebInfo>>:_RelWithDebugInfo>.${BULLET_LIB_EXT}" CACHE FILEPATH "${_LIB_NAME} release library location")
|
||||
set(${EXTERNAL_NAME_UPPER}_${_LIB_VAR_NAME}_RELEASE "${BULLET_LIB_DIR}/${LIB_PREFIX}${_LIB_NAME}$<$<CONFIG:RelWithDebInfo>:_RelWithDebugInfo>.${BULLET_LIB_EXT}" CACHE FILEPATH "${_LIB_NAME} release library location")
|
||||
|
||||
set(${EXTERNAL_NAME_UPPER}_${_LIB_VAR_NAME}_DEBUG ${BULLET_LIB_DIR}/${LIB_PREFIX}${_LIB_NAME}_Debug.${BULLET_LIB_EXT} CACHE FILEPATH "${_LIB_NAME} debug library location")
|
||||
else ()
|
||||
|
|
Loading…
Reference in a new issue