Commit a067e36c authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

Add more places to search for library, also include curl directory when compiling

parent 684c5fc0
...@@ -4,14 +4,17 @@ PROJECT(CTEST CXX) ...@@ -4,14 +4,17 @@ PROJECT(CTEST CXX)
SUBDIRS(Curl) SUBDIRS(Curl)
FIND_LIBRARY(CMAKE_LIBRARY NAMES CMakeLib PATHS FIND_LIBRARY(CMAKE_LIBRARY NAMES CMakeLib PATHS
${CTEST_BINARY_DIR}/..) ${CTEST_BINARY_DIR}/..
${CTEST_BINARY_DIR}/../Source
${CTEST_BINARY_DIR}/../../Source)
SET(CTEST_SRCS SET(CTEST_SRCS
../ctest.cxx ../ctest.cxx
../cmCTest.cxx ../cmCTest.cxx
cmCTestSubmit.cxx) cmCTestSubmit.cxx)
INCLUDE_DIRECTORIES(${CTEST_SOURCE_DIR}/..) INCLUDE_DIRECTORIES(${CTEST_SOURCE_DIR}/..
${CTEST_SOURCE_DIR}/Curl)
ADD_DEFINITIONS(-DHAVE_CURL) ADD_DEFINITIONS(-DHAVE_CURL)
ADD_EXECUTABLE(ctest ${CTEST_SRCS}) ADD_EXECUTABLE(ctest ${CTEST_SRCS})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment