diff options
author | Brad King <brad.king@kitware.com> | 2013-10-28 12:39:29 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-10-28 12:39:29 (GMT) |
commit | 16df2456a440d87fb3e8e53fb59a2817b288b9af (patch) | |
tree | a44c27696661e6edd6222dc01e4d783f3821010c /Modules/CMakeDetermineCCompiler.cmake | |
parent | ecc6d7f9190a660c0f442c4d03854b06e3fc7856 (diff) | |
parent | 3e04946f7b69418f6b222875ad18fed3438e0fa1 (diff) | |
download | CMake-16df2456a440d87fb3e8e53fb59a2817b288b9af.zip CMake-16df2456a440d87fb3e8e53fb59a2817b288b9af.tar.gz CMake-16df2456a440d87fb3e8e53fb59a2817b288b9af.tar.bz2 |
Merge topic 'enable-language-require-compiler'
3e04946 Require CMAKE_<LANG>_COMPILER to be found as a full path
6007f7c CMakeDetermineCompilerId: Always use compiler detected from IDE
332771c CMakeDetermine*Compiler: Remove temporary cache entry
Diffstat (limited to 'Modules/CMakeDetermineCCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineCCompiler.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCCompiler.cmake b/Modules/CMakeDetermineCCompiler.cmake index 9126988..1ae84ee 100644 --- a/Modules/CMakeDetermineCCompiler.cmake +++ b/Modules/CMakeDetermineCCompiler.cmake @@ -92,10 +92,10 @@ else() get_filename_component(_CMAKE_USER_C_COMPILER_PATH "${CMAKE_C_COMPILER}" PATH) if(NOT _CMAKE_USER_C_COMPILER_PATH) find_program(CMAKE_C_COMPILER_WITH_PATH NAMES ${CMAKE_C_COMPILER}) - mark_as_advanced(CMAKE_C_COMPILER_WITH_PATH) if(CMAKE_C_COMPILER_WITH_PATH) set(CMAKE_C_COMPILER ${CMAKE_C_COMPILER_WITH_PATH} CACHE STRING "C compiler" FORCE) endif() + unset(CMAKE_C_COMPILER_WITH_PATH CACHE) endif() endif() mark_as_advanced(CMAKE_C_COMPILER) |