Using known compilation features from cmake 3.1 instead of 3.15

This commit is contained in:
Atul R
2019-09-22 23:10:13 +02:00
parent 81b34f61cf
commit 0b90a0c57a
2 changed files with 7 additions and 2 deletions
+5 -1
View File
@@ -3,7 +3,11 @@ function(AddCommonConfig addonName)
SPDLOG_COMPILED_LIB
)
target_compile_features(${addonName} PRIVATE
cxx_std_14
cxx_inheriting_constructors
cxx_lambdas
cxx_auto_type
cxx_variadic_templates
cxx_variable_templates
)
if (WIN32)
target_compile_definitions(${addonName} PRIVATE