diff options
author | Sergei Nikulov <sergey.nikulov@gmail.com> | 2018-09-07 16:45:11 +0300 |
---|---|---|
committer | Sergei Nikulov <snikulov@users.noreply.github.com> | 2018-09-28 16:54:20 +0300 |
commit | f8215f80abe3b3b037d037f891f5f94aad68b440 (patch) | |
tree | 05679bcfa7de768a646d76b683018e79c19277c4 /tests | |
parent | 518ed51ec762c0512edb53437acb737a5a28942a (diff) | |
download | curl-f8215f80abe3b3b037d037f891f5f94aad68b440.tar.gz |
cmake: fixed path used in generation of docs/tests during curl build through add_subdicectory(...)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libtest/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/CMakeLists.txt b/tests/libtest/CMakeLists.txt index ac8d33328..6b14ad3e3 100644 --- a/tests/libtest/CMakeLists.txt +++ b/tests/libtest/CMakeLists.txt @@ -50,10 +50,10 @@ endif() add_custom_command( OUTPUT lib1521.c - COMMAND ${PERL_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/mk-lib1521.pl < ${CMAKE_SOURCE_DIR}/include/curl/curl.h > lib1521.c + COMMAND ${PERL_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/mk-lib1521.pl < ${CURL_SOURCE_DIR}/include/curl/curl.h > lib1521.c DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/mk-lib1521.pl" - "${CMAKE_SOURCE_DIR}/include/curl/curl.h" + "${CURL_SOURCE_DIR}/include/curl/curl.h" VERBATIM) set_property(TARGET chkdecimalpoint |