diff options
Diffstat (limited to 'Tests/Complex/Executable/CMakeLists.txt')
-rw-r--r-- | Tests/Complex/Executable/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/Complex/Executable/CMakeLists.txt b/Tests/Complex/Executable/CMakeLists.txt index e3e11ea..78ed587 100644 --- a/Tests/Complex/Executable/CMakeLists.txt +++ b/Tests/Complex/Executable/CMakeLists.txt @@ -19,7 +19,10 @@ LINK_LIBRARIES(${COMPLEX_LIBS}) ADD_EXECUTABLE(A A.cxx) ADD_EXECUTABLE(complex complex testcflags.c) ADD_EXECUTABLE(complex.file complex.file.cxx) -TARGET_LINK_LIBRARIES(complex CMakeLib cmsys cmexpat cmzlib cmtar) +IF(NOT CMAKE_TEST_DIFFERENT_GENERATOR) + TARGET_LINK_LIBRARIES(complex CMakeLib cmsys cmexpat cmzlib cmtar) +ENDIF(NOT CMAKE_TEST_DIFFERENT_GENERATOR) + IF (UNIX) TARGET_LINK_LIBRARIES(complex ${CMAKE_DL_LIBS}) ELSE(UNIX) |