add some more c++17

This commit is contained in:
Green Sky 2022-10-30 16:17:48 +01:00 committed by Erik Scholz
parent 8cc473b9fc
commit c13dff8eb3
2 changed files with 6 additions and 0 deletions

View File

@ -24,6 +24,8 @@ add_library(engine
target_include_directories(engine PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src") target_include_directories(engine PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src")
target_compile_features(engine PUBLIC cxx_std_17)
target_link_libraries(engine target_link_libraries(engine
tracy_client tracy_client
logger logger

View File

@ -6,6 +6,8 @@ add_library(std_utils INTERFACE)
target_include_directories(std_utils INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/src") target_include_directories(std_utils INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/src")
target_compile_features(std_utils INTERFACE cxx_std_17)
############################## ##############################
# curr only scalar_range # curr only scalar_range
@ -13,6 +15,8 @@ add_library(std_utils_serialize INTERFACE)
target_include_directories(std_utils_serialize INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/src") target_include_directories(std_utils_serialize INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/src")
target_compile_features(std_utils_serialize INTERFACE cxx_std_17)
target_link_libraries(std_utils_serialize INTERFACE target_link_libraries(std_utils_serialize INTERFACE
nlohmann_json::nlohmann_json nlohmann_json::nlohmann_json
) )