From 61811ee1d248abc10511c6992bf2f1b353fa3898 Mon Sep 17 00:00:00 2001 From: Jorrit Wronski Date: Wed, 15 Nov 2017 14:54:32 +0100 Subject: [PATCH] Bring it back --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b46cfe9..e8e0722 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,7 +55,7 @@ if(HUNTER_ENABLED) # Use Hunter to manage dependencies hunter_add_package(nlohmann_json) find_package(nlohmann_json CONFIG REQUIRED) # Add dependencies to target - target_link_libraries(inja nlohmann_json) + target_link_libraries(inja INTERFACE nlohmann_json) else() target_include_directories(inja INTERFACE $