diff options
author | Brad King <brad.king@kitware.com> | 2013-10-23 12:20:08 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-10-23 12:20:08 (GMT) |
commit | 7938e589e33fc7c9de1fa29e3ec128f1b38c2831 (patch) | |
tree | b75e82f5fb51dbfb9bcd37b17423adef7a5323e3 /Modules/CMakeCInformation.cmake | |
parent | a8cfc218435b5adb92f9456f69b57f02ec1dcc43 (diff) | |
parent | 705ae0049190dfa9e79e13c423c509b112a5e25b (diff) | |
download | CMake-7938e589e33fc7c9de1fa29e3ec128f1b38c2831.zip CMake-7938e589e33fc7c9de1fa29e3ec128f1b38c2831.tar.gz CMake-7938e589e33fc7c9de1fa29e3ec128f1b38c2831.tar.bz2 |
Merge topic 'vs-graceful-empty-compiler'
705ae00 Quote ${CMAKE_<LANG>_COMPILER} while enabling a language
18a2537 CMakeDetermineCompilerId: Do not test vendor without a compiler
Diffstat (limited to 'Modules/CMakeCInformation.cmake')
-rw-r--r-- | Modules/CMakeCInformation.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeCInformation.cmake b/Modules/CMakeCInformation.cmake index ce5ce44..0f5b694 100644 --- a/Modules/CMakeCInformation.cmake +++ b/Modules/CMakeCInformation.cmake @@ -34,7 +34,7 @@ if(CMAKE_C_COMPILER_ID) endif() set(CMAKE_BASE_NAME) -get_filename_component(CMAKE_BASE_NAME ${CMAKE_C_COMPILER} NAME_WE) +get_filename_component(CMAKE_BASE_NAME "${CMAKE_C_COMPILER}" NAME_WE) if(CMAKE_COMPILER_IS_GNUCC) set(CMAKE_BASE_NAME gcc) endif() |