aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSergei Nikulov <sergey.nikulov@gmail.com>2018-09-07 16:45:11 +0300
committerSergei Nikulov <snikulov@users.noreply.github.com>2018-09-28 16:54:20 +0300
commitf8215f80abe3b3b037d037f891f5f94aad68b440 (patch)
tree05679bcfa7de768a646d76b683018e79c19277c4 /lib
parent518ed51ec762c0512edb53437acb737a5a28942a (diff)
cmake: fixed path used in generation of docs/tests during curl build through add_subdicectory(...)
Diffstat (limited to 'lib')
-rw-r--r--lib/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index bd6d42707..be6f7a249 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -105,7 +105,8 @@ if(WIN32)
endif()
target_include_directories(${LIB_NAME} INTERFACE
- $<INSTALL_INTERFACE:include>)
+ $<INSTALL_INTERFACE:include>
+ $<BUILD_INTERFACE:${CURL_SOURCE_DIR}/include>)
install(TARGETS ${LIB_NAME}
EXPORT libcurl-target