Commit 6d5bef7d authored by Sebastien Barre's avatar Sebastien Barre
Browse files

FIX: do not use CMAKE_CFG_INTDIR, just use LINK_DIRECTORIES

parent 07578f93
......@@ -8,16 +8,14 @@ TARGET_LINK_LIBRARIES(complex ${COMPLEX_LIBS})
#
# Link to CMake lib
# Specify the same one for debug/optimized to increase coverage
#
FIND_LIBRARY(CMAKE_LIB
CMakeLib
${Wrapping_BINARY_DIR}/../../Source/${CMAKE_CFG_INTDIR})
LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Source)
# Specify the same one for debug/optimized to increase coverage
TARGET_LINK_LIBRARIES(complex
${CMAKE_LIB}
debug ${CMAKE_LIB}
optimized ${CMAKE_LIB})
CMakeLib
debug CMakeLib
optimized CMakeLib)
#
# Output the files required by 'complex' to a file.
......@@ -35,4 +33,3 @@ INSTALL_TARGETS(/tmp complex)
INSTALL_PROGRAMS(/tmp complex)
SOURCE_GROUP(A_GROUP ".cxx")
......@@ -8,16 +8,14 @@ TARGET_LINK_LIBRARIES(complex ${COMPLEX_LIBS})
#
# Link to CMake lib
# Specify the same one for debug/optimized to increase coverage
#
FIND_LIBRARY(CMAKE_LIB
CMakeLib
${Wrapping_BINARY_DIR}/../../Source/${CMAKE_CFG_INTDIR})
LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Source)
# Specify the same one for debug/optimized to increase coverage
TARGET_LINK_LIBRARIES(complex
${CMAKE_LIB}
debug ${CMAKE_LIB}
optimized ${CMAKE_LIB})
CMakeLib
debug CMakeLib
optimized CMakeLib)
#
# Output the files required by 'complex' to a file.
......@@ -35,4 +33,3 @@ INSTALL_TARGETS(/tmp complex)
INSTALL_PROGRAMS(/tmp complex)
SOURCE_GROUP(A_GROUP ".cxx")
......@@ -8,16 +8,14 @@ TARGET_LINK_LIBRARIES(complex ${COMPLEX_LIBS})
#
# Link to CMake lib
# Specify the same one for debug/optimized to increase coverage
#
FIND_LIBRARY(CMAKE_LIB
CMakeLib
${Wrapping_BINARY_DIR}/../../Source/${CMAKE_CFG_INTDIR})
LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Source)
# Specify the same one for debug/optimized to increase coverage
TARGET_LINK_LIBRARIES(complex
${CMAKE_LIB}
debug ${CMAKE_LIB}
optimized ${CMAKE_LIB})
CMakeLib
debug CMakeLib
optimized CMakeLib)
#
# Output the files required by 'complex' to a file.
......@@ -35,4 +33,3 @@ INSTALL_TARGETS(/tmp complex)
INSTALL_PROGRAMS(/tmp complex)
SOURCE_GROUP(A_GROUP ".cxx")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment