Skip to content

Commit

Permalink
fix C++17
Browse files Browse the repository at this point in the history
  • Loading branch information
pantor committed Nov 10, 2021
1 parent 2239e23 commit 173c1f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ target_include_directories(inja INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:${INJA_INSTALL_INCLUDE_DIR}>
)
target_compile_features(inja INTERFACE cxx_std_11)
target_compile_features(inja INTERFACE cxx_std_17)


if(INJA_USE_EMBEDDED_JSON)
Expand All @@ -47,7 +47,7 @@ if(INJA_USE_EMBEDDED_JSON)
$<INSTALL_INTERFACE:${INJA_INSTALL_INCLUDE_DIR}/inja/json/include>
)

target_compile_features(nlohmann_json INTERFACE cxx_std_11)
target_compile_features(nlohmann_json INTERFACE cxx_std_17)

install(TARGETS nlohmann_json EXPORT injaTargets)

Expand Down Expand Up @@ -87,7 +87,7 @@ if(BUILD_TESTING AND INJA_BUILD_TESTS)


add_library(single_inja INTERFACE)
target_compile_features(single_inja INTERFACE cxx_std_11)
target_compile_features(single_inja INTERFACE cxx_std_17)
target_include_directories(single_inja INTERFACE single_include include third_party/include)

add_executable(single_inja_test test/test.cpp)
Expand Down

0 comments on commit 173c1f5

Please sign in to comment.