mirror of
https://github.com/pantor/inja.git
synced 2026-02-17 09:03:58 +00:00
fix: cmake does not find embedded json (#266)
This commit is contained in:
committed by
GitHub
parent
3741c73ba7
commit
9e92a7c0fa
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user