summaryrefslogtreecommitdiffstats
path: root/Modules/Internal
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-05-06 19:23:36 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-05-07 10:16:13 (GMT)
commit64254e7a74455d194092c9dba64e8d5c910a8f21 (patch)
tree33809b506c2867f17864534f0d9337a963a510eb /Modules/Internal
parent0d9c99bf04513bd2fd69e3673f9469c4cd69dc4c (diff)
downloadCMake-64254e7a74455d194092c9dba64e8d5c910a8f21.zip
CMake-64254e7a74455d194092c9dba64e8d5c910a8f21.tar.gz
CMake-64254e7a74455d194092c9dba64e8d5c910a8f21.tar.bz2
Project: Remove extern from static string in feature tests.
Diffstat (limited to 'Modules/Internal')
-rw-r--r--Modules/Internal/FeatureTesting.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Internal/FeatureTesting.cmake b/Modules/Internal/FeatureTesting.cmake
index 0fff36b..f4adb35 100644
--- a/Modules/Internal/FeatureTesting.cmake
+++ b/Modules/Internal/FeatureTesting.cmake
@@ -5,7 +5,7 @@ macro(record_compiler_features lang compile_flags feature_list)
string(TOLOWER ${lang} lang_lc)
file(REMOVE "${CMAKE_BINARY_DIR}/CMakeFiles/feature_tests.bin")
file(WRITE "${CMAKE_BINARY_DIR}/CMakeFiles/feature_tests.${lang_lc}" "
- extern const char features[] = {\"\"\n")
+ const char features[] = {\"\"\n")
get_property(known_features GLOBAL PROPERTY CMAKE_${lang}_KNOWN_FEATURES)