mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 02:39:48 -06:00
Project: Remove extern from static string in feature tests.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user