summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/GNU.cmake
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2017-05-01 16:51:31 (GMT)
committerChuck Atkins <chuck.atkins@kitware.com>2017-05-02 13:49:23 (GMT)
commitd1aa2b3f607b35dc5dbf613b2334b6d243ec2bda (patch)
treeada82b978807bfb55aa784288710f3fb279b3d1e /Modules/Compiler/GNU.cmake
parent87b9d6d93f2e5e6076992cae7395647359de306d (diff)
downloadCMake-d1aa2b3f607b35dc5dbf613b2334b6d243ec2bda.zip
CMake-d1aa2b3f607b35dc5dbf613b2334b6d243ec2bda.tar.gz
CMake-d1aa2b3f607b35dc5dbf613b2334b6d243ec2bda.tar.bz2
GNU: Use common compiler macros for language standard default
Diffstat (limited to 'Modules/Compiler/GNU.cmake')
-rw-r--r--Modules/Compiler/GNU.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Compiler/GNU.cmake b/Modules/Compiler/GNU.cmake
index 0a510f5..e2739a8 100644
--- a/Modules/Compiler/GNU.cmake
+++ b/Modules/Compiler/GNU.cmake
@@ -8,6 +8,8 @@ if(__COMPILER_GNU)
endif()
set(__COMPILER_GNU 1)
+include(Compiler/CMakeCommonCompilerMacros)
+
macro(__compiler_gnu lang)
# Feature flags.
set(CMAKE_${lang}_VERBOSE_FLAG "-v")