summaryrefslogtreecommitdiffstats
path: root/Tests/Complex/Library
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-05-02 19:10:19 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-05-02 19:10:19 (GMT)
commit2242006ca1f6834059d23b761dafd4ad7e70661b (patch)
tree25234eab987916695cbe4202d2548b8c61def63e /Tests/Complex/Library
parent4fe8947bcc725396a6bb85720c6836d81d100dd7 (diff)
downloadCMake-2242006ca1f6834059d23b761dafd4ad7e70661b.zip
CMake-2242006ca1f6834059d23b761dafd4ad7e70661b.tar.gz
CMake-2242006ca1f6834059d23b761dafd4ad7e70661b.tar.bz2
Debug optimized cache fixes
Diffstat (limited to 'Tests/Complex/Library')
-rw-r--r--Tests/Complex/Library/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/Complex/Library/CMakeLists.txt b/Tests/Complex/Library/CMakeLists.txt
index c354c34..9feeb27 100644
--- a/Tests/Complex/Library/CMakeLists.txt
+++ b/Tests/Complex/Library/CMakeLists.txt
@@ -20,6 +20,17 @@ SOURCE_FILES(LibrarySources
SOURCE_FILES_REMOVE(LibrarySources create_file.cxx GENERATED nonexisting_file)
ADD_LIBRARY(CMakeTestLibrary LibrarySources)
+IF(WIN32)
+ IF(NOT CYGWIN)
+ TARGET_LINK_LIBRARIES(CMakeTestLibrary
+ debug
+ user32.lib)
+ TARGET_LINK_LIBRARIES(CMakeTestLibrary
+ optimized
+ kernel32.lib)
+ ENDIF(NOT CYGWIN)
+ENDIF(WIN32)
+
#
# Create shared library
#