From 6ca7bd6a9e93503af7d7dfb0b4e87712b65670f5 Mon Sep 17 00:00:00 2001 From: bergmann Date: Thu, 11 Jul 2019 01:19:34 +0200 Subject: [PATCH] * Fixed include directories in cmake --- src/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e8a557c..a0156ae 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -20,7 +20,7 @@ Option ( CPPLOGGING_NO_STRIP "Do not strip debug symbols from binary." OFF ) -Find_Package ( nlohmann_json ) +Find_Package ( nlohmann_json QUIET ) If ( nlohmann_json_FOUND ) Set ( CPPLOGGING_HAS_NLOHMANN_JSON true ) EndIf ( ) @@ -61,6 +61,7 @@ Set_Target_Properties ( cpplogging-static Target_Include_Directories ( cpplogging-static PUBLIC $ + $ $ ) # Shared Library ################################################################################## @@ -74,6 +75,7 @@ Set_Target_Properties ( cpplogging-shared Target_Include_Directories ( cpplogging-shared PUBLIC $ + $ $ ) # Optimization ####################################################################################