summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCXXCompiler.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-05-03 12:24:32 (GMT)
committerBrad King <brad.king@kitware.com>2007-05-03 12:24:32 (GMT)
commit44ab336a0c4afe9dab6e7d038aec9a27c7ee92c7 (patch)
treebac63ae60cc6d84d525aac20dddcf739b3b6b1c8 /Modules/CMakeDetermineCXXCompiler.cmake
parentdf84f9b8611c58bec0112bacf3f76c0c29285ed4 (diff)
downloadCMake-44ab336a0c4afe9dab6e7d038aec9a27c7ee92c7.zip
CMake-44ab336a0c4afe9dab6e7d038aec9a27c7ee92c7.tar.gz
CMake-44ab336a0c4afe9dab6e7d038aec9a27c7ee92c7.tar.bz2
ENH: Merging CompilerId updates from branch CMake-Modules-CompilerId to the main tree. Changes between CMake-Modules-CompilerId-mp1 and CMake-Modules-CompilerId-mp2 are included.
Diffstat (limited to 'Modules/CMakeDetermineCXXCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineCXXCompiler.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCXXCompiler.cmake b/Modules/CMakeDetermineCXXCompiler.cmake
index 372d27b..4ba152a 100644
--- a/Modules/CMakeDetermineCXXCompiler.cmake
+++ b/Modules/CMakeDetermineCXXCompiler.cmake
@@ -88,7 +88,7 @@ IF(NOT CMAKE_CXX_COMPILER_ID_RUN)
# Try to identify the compiler.
SET(CMAKE_CXX_COMPILER_ID)
INCLUDE(${CMAKE_ROOT}/Modules/CMakeDetermineCompilerId.cmake)
- CMAKE_DETERMINE_COMPILER_ID(CXX ${CMAKE_ROOT}/Modules/CMakeCXXCompilerId.cpp)
+ CMAKE_DETERMINE_COMPILER_ID(CXX CXXFLAGS ${CMAKE_ROOT}/Modules/CMakeCXXCompilerId.cpp)
# Set old compiler and platform id variables.
IF("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")