diff options
author | Brad King <brad.king@kitware.com> | 2015-03-20 13:47:35 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-03-20 13:47:35 (GMT) |
commit | 1b1144b91dcaae05a0caffd3d238e76268600af7 (patch) | |
tree | 8fbd82a3158de068adf9208168e208357a0f7bab /Modules | |
parent | a066f73263c8c56f968324e51daee717291b3908 (diff) | |
parent | 2aaf4f60810a86d62927a915e9286e4c2be9c53a (diff) | |
download | CMake-1b1144b91dcaae05a0caffd3d238e76268600af7.zip CMake-1b1144b91dcaae05a0caffd3d238e76268600af7.tar.gz CMake-1b1144b91dcaae05a0caffd3d238e76268600af7.tar.bz2 |
Merge topic 'mingw-compile-features'
2aaf4f60 Help: Add notes for topic 'mingw-compile-features'
f94727a9 Record compile features for GNU on Windows (#15443)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/GNU-CXX.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Compiler/GNU-CXX.cmake b/Modules/Compiler/GNU-CXX.cmake index 86a31e4..2dc02f0 100644 --- a/Modules/Compiler/GNU-CXX.cmake +++ b/Modules/Compiler/GNU-CXX.cmake @@ -44,10 +44,10 @@ macro(cmake_record_cxx_compile_features) endmacro() set(_result 0) - if (UNIX AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8) + if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8) _get_gcc_features(${CMAKE_CXX14_STANDARD_COMPILE_OPTION} CMAKE_CXX14_COMPILE_FEATURES) endif() - if (UNIX AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.4) + if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.4) if (_result EQUAL 0) _get_gcc_features(${CMAKE_CXX11_STANDARD_COMPILE_OPTION} CMAKE_CXX11_COMPILE_FEATURES) endif() |