summaryrefslogtreecommitdiffstats
path: root/Source/CTest/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/CMakeLists.txt')
-rw-r--r--Source/CTest/CMakeLists.txt7
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})