fix: cmake does not find embedded json (#266)

This commit is contained in:
Martin Hierholzer
2023-04-06 09:16:29 +02:00
committed by GitHub
parent 3741c73ba7
commit 9e92a7c0fa

View File

@@ -44,7 +44,7 @@ if(INJA_USE_EMBEDDED_JSON)
target_include_directories(nlohmann_json INTERFACE target_include_directories(nlohmann_json INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/third_party/include> $<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) target_compile_features(nlohmann_json INTERFACE cxx_std_17)