summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCXXCompiler.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-19 12:51:43 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-06-19 12:51:43 (GMT)
commita53f1af79f5b602751d2a3a68e3eb36deba53c23 (patch)
tree696fd745c2e9408ef74bbda0f6526df98eba1c16 /Modules/CMakeDetermineCXXCompiler.cmake
parentc780524a967ef8e814ad4fcd4e424cdb8fe58f73 (diff)
parent54676a0e4cf30d9f026a0f6521f7171a75f85803 (diff)
downloadCMake-a53f1af79f5b602751d2a3a68e3eb36deba53c23.zip
CMake-a53f1af79f5b602751d2a3a68e3eb36deba53c23.tar.gz
CMake-a53f1af79f5b602751d2a3a68e3eb36deba53c23.tar.bz2
Merge topic 'ConcurrentFortran-compiler-id'
54676a0e Help: Add notes for topic 'ConcurrentFortran-compiler-id' 7cd539b1 Add support for Concurrent Fortran 77 Compiler 0d204c1c CMakeDetermineCompilerId: Try matching compiler output to detect id 5f0dad75 CMakeDetermineCompilerId: Refactor id build/check loop logic c65a060e CMakeDetermineCompilerId: Optionally try some flags before no flags
Diffstat (limited to 'Modules/CMakeDetermineCXXCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineCXXCompiler.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineCXXCompiler.cmake b/Modules/CMakeDetermineCXXCompiler.cmake
index 893c454..a673525 100644
--- a/Modules/CMakeDetermineCXXCompiler.cmake
+++ b/Modules/CMakeDetermineCXXCompiler.cmake
@@ -78,6 +78,7 @@ else()
# Each entry in this list is a set of extra flags to try
# adding to the compile line to see if it helps produce
# a valid identification file.
+ set(CMAKE_CXX_COMPILER_ID_TEST_FLAGS_FIRST)
set(CMAKE_CXX_COMPILER_ID_TEST_FLAGS
# Try compiling to an object file only.
"-c"