diff --git a/Source/CTest/CMakeLists.txt b/Source/CTest/CMakeLists.txt index 455ad97d2..cf7df78cf 100644 --- a/Source/CTest/CMakeLists.txt +++ b/Source/CTest/CMakeLists.txt @@ -20,12 +20,13 @@ SET(CTEST_SRCS ../cmCTest.cxx cmCTestSubmit.cxx) -MESSAGE( ${CMAKE_ROOT}) GET_FILENAME_COMPONENT(CMAKE_DIR ${CMAKE_LIBRARY} PATH) -INCLUDE_DIRECTORIES(${CTEST_SOURCE_DIR}/.. +INCLUDE_DIRECTORIES(${CTEST_SOURCE_DIR} + ${CTEST_SOURCE_DIR}/.. ${CTEST_SOURCE_DIR}/Curl - ${CMAKE_DIR}) + ${CMAKE_DIR} + ${CMAKE_DIR}/..) ADD_DEFINITIONS(-DHAVE_CURL) ADD_EXECUTABLE(ctest ${CTEST_SRCS})