Rename META_REQUIRED_FEATURES
Because those features are actually not required.
This commit is contained in:
parent
52734ebf51
commit
b77607f3e0
|
@ -134,7 +134,7 @@ set(META_APP_NAME "C++ Utilities")
|
|||
set(META_APP_AUTHOR "Martchus")
|
||||
set(META_APP_URL "https://github.com/${META_APP_AUTHOR}/${META_PROJECT_NAME}")
|
||||
set(META_APP_DESCRIPTION "Useful C++ classes and routines such as argument parser, IO and conversion utilities")
|
||||
set(META_REQUIRED_FEATURES cxx_thread_local)
|
||||
set(META_FEATURES_FOR_COMPILER_DETECTION_HEADER cxx_thread_local)
|
||||
set(META_VERSION_MAJOR 4)
|
||||
set(META_VERSION_MINOR 14)
|
||||
set(META_VERSION_PATCH 2)
|
||||
|
|
|
@ -120,13 +120,13 @@ endif()
|
|||
set(TARGET_EXECUTABLE "${CMAKE_INSTALL_PREFIX}/bin/${TARGET_PREFIX}${META_PROJECT_NAME}${TARGET_SUFFIX}")
|
||||
|
||||
# create header for feature detection
|
||||
if (META_REQUIRED_FEATURES)
|
||||
if (META_FEATURES_FOR_COMPILER_DETECTION_HEADER)
|
||||
include(WriteCompilerDetectionHeader)
|
||||
write_compiler_detection_header(
|
||||
FILE "${CMAKE_CURRENT_BINARY_DIR}/resources/features.h"
|
||||
PREFIX "${META_PROJECT_VARNAME_UPPER}"
|
||||
COMPILERS GNU Clang
|
||||
FEATURES ${META_REQUIRED_FEATURES}
|
||||
FEATURES ${META_FEATURES_FOR_COMPILER_DETECTION_HEADER}
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue