diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-06-26 17:00:42 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-06-26 17:00:42 (GMT) |
commit | 5fb7dab5416a3444cae09f857794cca5e312b09f (patch) | |
tree | 474ee7228c3ee9d0f61a54806c60cba4850c813c /Modules/CMakeDetermineCXXCompiler.cmake | |
parent | 2b1ae3145348167139bfdb9ccde112e48389a3ec (diff) | |
download | CMake-5fb7dab5416a3444cae09f857794cca5e312b09f.zip CMake-5fb7dab5416a3444cae09f857794cca5e312b09f.tar.gz CMake-5fb7dab5416a3444cae09f857794cca5e312b09f.tar.bz2 |
ENH: check for CMAKE_HOST_SYSTEM_NAME to decide whether to load
CMakeDetermineSystem.cmake, since CMAKE_SYSTEM_NAME might already be preset
when using cmake for cross compiling
use type STRING instead of FILEPATH since otherwise a strange filename was
generated
Alex
Diffstat (limited to 'Modules/CMakeDetermineCXXCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineCXXCompiler.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCXXCompiler.cmake b/Modules/CMakeDetermineCXXCompiler.cmake index 127367c..d67a0f5 100644 --- a/Modules/CMakeDetermineCXXCompiler.cmake +++ b/Modules/CMakeDetermineCXXCompiler.cmake @@ -73,7 +73,7 @@ ELSE(NOT CMAKE_CXX_COMPILER) FIND_PROGRAM(CMAKE_CXX_COMPILER_WITH_PATH NAMES ${CMAKE_CXX_COMPILER}) MARK_AS_ADVANCED(CMAKE_CXX_COMPILER_WITH_PATH) IF(CMAKE_CXX_COMPILER_WITH_PATH) - SET(CMAKE_CXX_COMPILER ${CMAKE_CXX_COMPILER_WITH_PATH} CACHE FILEPATH "CXX compiler" FORCE) + SET(CMAKE_CXX_COMPILER ${CMAKE_CXX_COMPILER_WITH_PATH} CACHE STRING "CXX compiler" FORCE) ENDIF(CMAKE_CXX_COMPILER_WITH_PATH) ENDIF(NOT _CMAKE_USER_CXX_COMPILER_PATH) ENDIF(NOT CMAKE_CXX_COMPILER) |