diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-04-29 21:23:56 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-04-29 21:23:56 (GMT) |
commit | b216ced4445426f1f95af26d5b21b9d8067bfee3 (patch) | |
tree | beaa49ff7f7f401bbadb1adbc3ff1c97640425a1 /Source/CTest/CMakeLists.txt | |
parent | 565200b893c8d41f25815618afcb1dd0dfdb1934 (diff) | |
download | CMake-b216ced4445426f1f95af26d5b21b9d8067bfee3.zip CMake-b216ced4445426f1f95af26d5b21b9d8067bfee3.tar.gz CMake-b216ced4445426f1f95af26d5b21b9d8067bfee3.tar.bz2 |
ENH: Make Curl code to be built by default
Diffstat (limited to 'Source/CTest/CMakeLists.txt')
-rw-r--r-- | Source/CTest/CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/CTest/CMakeLists.txt b/Source/CTest/CMakeLists.txt index 677615d..e262727 100644 --- a/Source/CTest/CMakeLists.txt +++ b/Source/CTest/CMakeLists.txt @@ -10,14 +10,14 @@ ENDIF(CMAKE_SYSTEM MATCHES "AIX.*") SUBDIRS(Curl) -IF(CMAKE_WITH_CURL) +IF(CMAKE_BUILD_WITH_CURL) SET(CMAKE_LIBRARY CMakeLib) -ELSE(CMAKE_WITH_CURL) +ELSE(CMAKE_BUILD_WITH_CURL) FIND_LIBRARY(CMAKE_LIBRARY NAMES CMakeLib PATHS ${CTEST_BINARY_DIR}/.. ${CTEST_BINARY_DIR}/../Source ${CTEST_BINARY_DIR}/../../Source) -ENDIF(CMAKE_WITH_CURL) +ENDIF(CMAKE_BUILD_WITH_CURL) SET(CTEST_SRCS ../ctest.cxx @@ -32,8 +32,8 @@ INCLUDE_DIRECTORIES(${CTEST_SOURCE_DIR} ${CMAKE_DIR} ${CMAKE_DIR}/..) -IF(NOT CMAKE_WITH_CURL) +IF(NOT CMAKE_BUILD_WITH_CURL) ADD_DEFINITIONS(-DHAVE_CURL) ADD_EXECUTABLE(cmtest ${CTEST_SRCS}) TARGET_LINK_LIBRARIES(cmtest ${CMAKE_LIBRARY} Curl) -ENDIF(NOT CMAKE_WITH_CURL) +ENDIF(NOT CMAKE_BUILD_WITH_CURL) |