Add dependencies and include directories

This commit is contained in:
Jorrit Wronski
2017-11-15 23:11:53 +01:00
parent ffcc0229ee
commit e12bb7bcfe
3 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ if(HUNTER_ENABLED) # Use Hunter to manage dependencies
target_link_libraries(inja INTERFACE nlohmann_json)
else()
target_include_directories(inja INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/test/thirdparty/json>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/test/thirdparty>
$<INSTALL_INTERFACE:${INJA_HEADER_INSTALL_DIR}>
)
endif()