File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,6 @@ option(NE_FORCE_TEST_COLOR "Force colorized unit test output" OFF)
2424enable_testing ()
2525
2626if (NE_DEVELOPER_DEFAULTS)
27- set (CMAKE_CXX_STANDARD 14)
28- set (CMAKE_CXX_EXTENSIONS OFF )
29-
3027 set (CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR} /bin" )
3128 set (CMAKE_LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR} /lib" )
3229 set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR} /lib" )
@@ -130,7 +127,10 @@ target_compile_options(nodes
130127 $<$<CXX_COMPILER_ID:Clang>:-Wall -Wextra>
131128)
132129
133- target_compile_features (nodes PUBLIC cxx_std_14)
130+ if (NE_DEVELOPER_DEFAULTS)
131+ target_compile_features (nodes PUBLIC cxx_std_14)
132+ set_target_properties (nodes PROPERTIES CXX_EXTENSIONS OFF )
133+ endif ()
134134
135135set_target_properties (nodes
136136 PROPERTIES
You can’t perform that action at this time.
0 commit comments