Using known compilation features from cmake 3.1 instead of 3.15
This commit is contained in:
parent
81b34f61cf
commit
0b90a0c57a
3
.gitignore
vendored
3
.gitignore
vendored
@ -3,4 +3,5 @@ node_modules
|
||||
build
|
||||
dist
|
||||
.vscode
|
||||
.cache
|
||||
.cache
|
||||
.DS_Store
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user