summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKWSys Upstream <kwrobot@kitware.com>2018-03-07 11:47:12 (GMT)
committerBrad King <brad.king@kitware.com>2018-03-07 11:48:32 (GMT)
commit64d4308d8347150d072c2f11f9dd557ccaa1dfb2 (patch)
tree553ab495c085a48a6c7645d25996b3dae9070030 /CMakeLists.txt
parent854feacc60c5d1dcf53652a764841e1d9d602ac3 (diff)
downloadCMake-64d4308d8347150d072c2f11f9dd557ccaa1dfb2.zip
CMake-64d4308d8347150d072c2f11f9dd557ccaa1dfb2.tar.gz
CMake-64d4308d8347150d072c2f11f9dd557ccaa1dfb2.tar.bz2
KWSys 2018-03-07 (2ad561e7)
Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 2ad561e78b0d99f083f1213e403d5a8a90e0e134 (master). Upstream Shortlog ----------------- Brad King (4): 6e190d9a Fix include directory usage requirement for build tree 6d4e9fde SystemInformation: Android has no getifaddrs prior to API 24 0a0974d0 SystemTools: Restore unconditional caching in GetActualCaseForPath a241fd13 SystemTools: Remove caching from public GetActualCaseForPath
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c0154c8..4fc176b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -922,7 +922,7 @@ IF(KWSYS_C_SRCS OR KWSYS_CXX_SRCS)
# Set up include usage requirement
IF(COMMAND TARGET_INCLUDE_DIRECTORIES)
TARGET_INCLUDE_DIRECTORIES(${KWSYS_TARGET_INTERFACE} INTERFACE
- $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>)
+ $<BUILD_INTERFACE:${KWSYS_HEADER_ROOT}>)
IF(KWSYS_INSTALL_INCLUDE_DIR)
TARGET_INCLUDE_DIRECTORIES(${KWSYS_TARGET_INTERFACE} INTERFACE
$<INSTALL_INTERFACE:${KWSYS_INSTALL_INCLUDE_DIR}>)
@@ -976,7 +976,7 @@ IF(KWSYS_ENABLE_C AND KWSYS_C_SRCS)
# Set up include usage requirement
IF(COMMAND TARGET_INCLUDE_DIRECTORIES)
TARGET_INCLUDE_DIRECTORIES(${KWSYS_TARGET_C_INTERFACE} INTERFACE
- $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>)
+ $<BUILD_INTERFACE:${KWSYS_HEADER_ROOT}>)
IF(KWSYS_INSTALL_INCLUDE_DIR)
TARGET_INCLUDE_DIRECTORIES(${KWSYS_TARGET_C_INTERFACE} INTERFACE
$<INSTALL_INTERFACE:${KWSYS_INSTALL_INCLUDE_DIR}>)