diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-11-18 14:37:31 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-11-18 14:37:31 (GMT) |
commit | 32ac624352e074bc7f9d948574e22f4c3d7f3c5c (patch) | |
tree | 1359da461ff901f8f03cb7b7b608a5200d31862e /Tests/ComplexOneConfig/Executable | |
parent | 1f9d9b2050716e3b8b79b49da1e50d1c2f938d10 (diff) | |
download | CMake-32ac624352e074bc7f9d948574e22f4c3d7f3c5c.zip CMake-32ac624352e074bc7f9d948574e22f4c3d7f3c5c.tar.gz CMake-32ac624352e074bc7f9d948574e22f4c3d7f3c5c.tar.bz2 |
ENH: make it work if new curl is on
Diffstat (limited to 'Tests/ComplexOneConfig/Executable')
-rw-r--r-- | Tests/ComplexOneConfig/Executable/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/ComplexOneConfig/Executable/CMakeLists.txt b/Tests/ComplexOneConfig/Executable/CMakeLists.txt index 9f64cbb..8d5743b 100644 --- a/Tests/ComplexOneConfig/Executable/CMakeLists.txt +++ b/Tests/ComplexOneConfig/Executable/CMakeLists.txt @@ -12,7 +12,11 @@ IF(COMPLEX_TEST_CMAKELIB) LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Source/kwsys) LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Utilities/cmexpat) LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Utilities/cmzlib) - LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Utilities/cmcurl) + IF(CMAKE_USE_NEW_CURL) + LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Utilities/cmcurl-7.19.0) + ELSE(CMAKE_USE_NEW_CURL) + LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Utilities/cmcurl) + ENDIF(CMAKE_USE_NEW_CURL) LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Utilities/cmtar) ENDIF(COMPLEX_TEST_CMAKELIB) |