diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-01-08 03:23:55 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-01-08 03:23:55 (GMT) |
commit | a067e36cc506d4a9d1083236b56bcbffd5352bd4 (patch) | |
tree | f6363fb5b40e0c9f167a0820f008b0ae59801d6f /Source/CTest/CMakeLists.txt | |
parent | 684c5fc02c103db094ed3f03fbb7faf7b15f01c0 (diff) | |
download | CMake-a067e36cc506d4a9d1083236b56bcbffd5352bd4.zip CMake-a067e36cc506d4a9d1083236b56bcbffd5352bd4.tar.gz CMake-a067e36cc506d4a9d1083236b56bcbffd5352bd4.tar.bz2 |
Add more places to search for library, also include curl directory when compiling
Diffstat (limited to 'Source/CTest/CMakeLists.txt')
-rw-r--r-- | Source/CTest/CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/CTest/CMakeLists.txt b/Source/CTest/CMakeLists.txt index 130caea..f591462 100644 --- a/Source/CTest/CMakeLists.txt +++ b/Source/CTest/CMakeLists.txt @@ -4,14 +4,17 @@ PROJECT(CTEST CXX) SUBDIRS(Curl) FIND_LIBRARY(CMAKE_LIBRARY NAMES CMakeLib PATHS - ${CTEST_BINARY_DIR}/..) + ${CTEST_BINARY_DIR}/.. + ${CTEST_BINARY_DIR}/../Source + ${CTEST_BINARY_DIR}/../../Source) SET(CTEST_SRCS ../ctest.cxx ../cmCTest.cxx cmCTestSubmit.cxx) -INCLUDE_DIRECTORIES(${CTEST_SOURCE_DIR}/..) +INCLUDE_DIRECTORIES(${CTEST_SOURCE_DIR}/.. + ${CTEST_SOURCE_DIR}/Curl) ADD_DEFINITIONS(-DHAVE_CURL) ADD_EXECUTABLE(ctest ${CTEST_SRCS}) |