diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2021-01-12 14:11:07 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-02-24 08:17:53 +0100 |
commit | 811acd1a08fb089fa274e2217dfee08fa4e12210 (patch) | |
tree | 6f299c19c66f516bacfe94110c5a3bbf4b9bb04c | |
parent | fb98a436a74bffa5e65a3c2579ccb9af269f2d10 (diff) | |
download | curl-811acd1a08fb089fa274e2217dfee08fa4e12210.tar.gz |
cmake: use CMAKE_INSTALL_INCLUDEDIR indirection
Reviewed-by: Sergei Nikulov
Closes #6440
-rw-r--r-- | lib/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index f6c364239..986a74f7f 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -126,7 +126,7 @@ if(WIN32) endif() target_include_directories(${LIB_NAME} INTERFACE - $<INSTALL_INTERFACE:include> + $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CURL_SOURCE_DIR}/include>) install(TARGETS ${LIB_NAME} |