mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-01 04:08:46 -06:00
ENH: Use ${CMAKE_CFG_INTDIR} instead of hardcoded RelInfo, Debug, Release, etc.
This commit is contained in:
@@ -10,12 +10,8 @@ TARGET_LINK_LIBRARIES(complex ${COMPLEX_LIBS})
|
||||
# Link to CMake lib
|
||||
#
|
||||
FIND_LIBRARY(CMAKE_LIB
|
||||
CMakeLib
|
||||
${Complex_BINARY_DIR}/../../Source
|
||||
${Complex_BINARY_DIR}/../../Source/Debug
|
||||
${Complex_BINARY_DIR}/../../Source/Release
|
||||
${Complex_BINARY_DIR}/../../Source/MinSizeRel
|
||||
${Complex_BINARY_DIR}/../../Source/RelWithDebInfo)
|
||||
CMakeLib
|
||||
${Wrapping_BINARY_DIR}/../../Source/${CMAKE_CFG_INTDIR})
|
||||
|
||||
# Specify the same one for debug/optimized to increase coverage
|
||||
TARGET_LINK_LIBRARIES(complex
|
||||
|
||||
Reference in New Issue
Block a user