summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCompilerId.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-12-13 18:06:49 (GMT)
committerBrad King <brad.king@kitware.com>2017-01-12 15:39:03 (GMT)
commit5365421e84e6133f0e038995e3a8232ec46d6a91 (patch)
treea6f2c4c4ba891484a7e1144803a43f10da057daf /Modules/CMakeDetermineCompilerId.cmake
parent522b913f437b04aa10b84cb5807ab43181377d7e (diff)
downloadCMake-5365421e84e6133f0e038995e3a8232ec46d6a91.zip
CMake-5365421e84e6133f0e038995e3a8232ec46d6a91.tar.gz
CMake-5365421e84e6133f0e038995e3a8232ec46d6a91.tar.bz2
CUDA: Detect implicit link information on Windows
The `nvcc -v` output on Windows uses response files, so load the one we need to extract the full link line.
Diffstat (limited to 'Modules/CMakeDetermineCompilerId.cmake')
-rw-r--r--Modules/CMakeDetermineCompilerId.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake
index eae139d..bb34de5 100644
--- a/Modules/CMakeDetermineCompilerId.cmake
+++ b/Modules/CMakeDetermineCompilerId.cmake
@@ -131,6 +131,7 @@ function(CMAKE_DETERMINE_COMPILER_ID_BUILD lang testflags src)
# Create a clean working directory.
file(REMOVE_RECURSE ${CMAKE_${lang}_COMPILER_ID_DIR})
file(MAKE_DIRECTORY ${CMAKE_${lang}_COMPILER_ID_DIR})
+ file(MAKE_DIRECTORY ${CMAKE_${lang}_COMPILER_ID_DIR}/tmp)
CMAKE_DETERMINE_COMPILER_ID_WRITE("${lang}" "${src}")
# Construct a description of this test case.