summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-29 13:20:43 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-11-29 13:20:45 (GMT)
commitd4805dd47bc6ea586e16ac5eb9f5bd07f2ff6901 (patch)
tree85c70312e63b5e0e45704946da1927bd56c3cd46 /Modules/Platform
parentcd5002579d64898e6392934e2acb33b199765846 (diff)
parent2f72573a62adcb4ef8805163f56bd0a1880fa279 (diff)
downloadCMake-d4805dd47bc6ea586e16ac5eb9f5bd07f2ff6901.zip
CMake-d4805dd47bc6ea586e16ac5eb9f5bd07f2ff6901.tar.gz
CMake-d4805dd47bc6ea586e16ac5eb9f5bd07f2ff6901.tar.bz2
Merge topic 'cuda-implicit-include-dirs'
2f72573a CUDA: Treat /usr/include as an implicit include directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1528
Diffstat (limited to 'Modules/Platform')
-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)