summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-27 15:26:52 (GMT)
committerBrad King <brad.king@kitware.com>2017-11-27 15:26:52 (GMT)
commit93e7eb7bc5c26aa0bf74887a1c5ba36bfce74bea (patch)
tree2a9e7df896ecec39a0b0732d905cb86e4981a7ab
parentc2019d7c0c9156ee78323ef0fc6bbeabe1c22192 (diff)
parent2f72573a62adcb4ef8805163f56bd0a1880fa279 (diff)
downloadCMake-93e7eb7bc5c26aa0bf74887a1c5ba36bfce74bea.zip
CMake-93e7eb7bc5c26aa0bf74887a1c5ba36bfce74bea.tar.gz
CMake-93e7eb7bc5c26aa0bf74887a1c5ba36bfce74bea.tar.bz2
Merge branch 'cuda-implicit-include-dirs' into release-3.10
Merge-request: !1528
-rw-r--r--Modules/Platform/UnixPaths.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Platform/UnixPaths.cmake b/Modules/Platform/UnixPaths.cmake
index 5687653..328d3c6 100644
--- a/Modules/Platform/UnixPaths.cmake
+++ b/Modules/Platform/UnixPaths.cmake
@@ -69,6 +69,9 @@ list(APPEND CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES
list(APPEND CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES
/usr/include
)
+list(APPEND CMAKE_CUDA_IMPLICIT_INCLUDE_DIRECTORIES
+ /usr/include
+ )
# Enable use of lib32 and lib64 search path variants by default.
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB32_PATHS TRUE)