• Brad King's avatar
    FindCUDA: Fix regression under Visual Studio generators · 1911cda0
    Brad King authored
    Since commit v3.5.0-rc1~47^2 (FindCUDA: Support special characters in
    path, 2016-01-15) our add_custom_command calls use VERBATIM so that
    CMake will automatically quote special characters correctly.  However,
    this breaks the special `$(VCInstallDir)` placeholder used with Visual
    Studio generators.  Since we do not support preservation of such
    placeholders with VERBATIM (see issue #15001) we must fall back to not
    using VERBATIM when the placeholder is used.
    
    A better fix would be to stop using `$(VCInstallDir)` and use the value
    of `CMAKE_${CUDA_C_OR_CXX}_COMPILER` instead, but that will require
    additional semantic and documentation changes.  For now simply fix the
    regression with the above approach.
    Reported-by: default avatarStephen Sorley <Stephen.Sorley@jhuapl.edu>
    1911cda0
Name
Last commit
Last update
Auxiliary Loading commit data...
Help Loading commit data...
Licenses Loading commit data...
Modules Loading commit data...
Packaging Loading commit data...
Source Loading commit data...
Templates Loading commit data...
Tests Loading commit data...
Utilities Loading commit data...
.gitattributes Loading commit data...
.hooks-config.bash Loading commit data...
CMakeCPack.cmake Loading commit data...
CMakeCPackOptions.cmake.in Loading commit data...
CMakeGraphVizOptions.cmake Loading commit data...
CMakeLists.txt Loading commit data...
CMakeLogo.gif Loading commit data...
CONTRIBUTING.rst Loading commit data...
CTestConfig.cmake Loading commit data...
CTestCustom.cmake.in Loading commit data...
CompileFlags.cmake Loading commit data...
Copyright.txt Loading commit data...
DartConfig.cmake Loading commit data...
README.rst Loading commit data...
bootstrap Loading commit data...
cmake_uninstall.cmake.in Loading commit data...
configure Loading commit data...
doxygen.config Loading commit data...