diff options
author | Brad King <brad.king@kitware.com> | 2016-12-13 18:06:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-01-12 15:39:03 (GMT) |
commit | 5365421e84e6133f0e038995e3a8232ec46d6a91 (patch) | |
tree | a6f2c4c4ba891484a7e1144803a43f10da057daf /Modules/CMakeDetermineCompilerId.cmake | |
parent | 522b913f437b04aa10b84cb5807ab43181377d7e (diff) | |
download | CMake-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.cmake | 1 |
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. |