Skip to content

Commit

Permalink
fix: cmake does not find embedded json (pantor#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhier authored Apr 6, 2023
1 parent 3741c73 commit 9e92a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if(INJA_USE_EMBEDDED_JSON)

target_include_directories(nlohmann_json INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/third_party/include>
$<INSTALL_INTERFACE:${INJA_INSTALL_INCLUDE_DIR}/inja/json/include>
$<INSTALL_INTERFACE:${INJA_INSTALL_INCLUDE_DIR}/nlohmann>
)

target_compile_features(nlohmann_json INTERFACE cxx_std_17)
Expand Down

0 comments on commit 9e92a7c

Please sign in to comment.