| @@ -20,7 +20,7 @@ Option ( CPPLOGGING_NO_STRIP | |||||
| "Do not strip debug symbols from binary." | "Do not strip debug symbols from binary." | ||||
| OFF ) | OFF ) | ||||
| Find_Package ( nlohmann_json ) | |||||
| Find_Package ( nlohmann_json QUIET ) | |||||
| If ( nlohmann_json_FOUND ) | If ( nlohmann_json_FOUND ) | ||||
| Set ( CPPLOGGING_HAS_NLOHMANN_JSON true ) | Set ( CPPLOGGING_HAS_NLOHMANN_JSON true ) | ||||
| EndIf ( ) | EndIf ( ) | ||||
| @@ -61,6 +61,7 @@ Set_Target_Properties ( cpplogging-static | |||||
| Target_Include_Directories ( cpplogging-static | Target_Include_Directories ( cpplogging-static | ||||
| PUBLIC | PUBLIC | ||||
| $<BUILD_INTERFACE:${CPPLOGGING_INCLUDE_DIR}> | $<BUILD_INTERFACE:${CPPLOGGING_INCLUDE_DIR}> | ||||
| $<BUILD_INTERFACE:${CPPLOGGING_GENERATED_INCLUDE_DIR}> | |||||
| $<INSTALL_INTERFACE:${CPPLOGGING_INSTALL_DIR_INCLUDE}> ) | $<INSTALL_INTERFACE:${CPPLOGGING_INSTALL_DIR_INCLUDE}> ) | ||||
| # Shared Library ################################################################################## | # Shared Library ################################################################################## | ||||
| @@ -74,6 +75,7 @@ Set_Target_Properties ( cpplogging-shared | |||||
| Target_Include_Directories ( cpplogging-shared | Target_Include_Directories ( cpplogging-shared | ||||
| PUBLIC | PUBLIC | ||||
| $<BUILD_INTERFACE:${CPPLOGGING_INCLUDE_DIR}> | $<BUILD_INTERFACE:${CPPLOGGING_INCLUDE_DIR}> | ||||
| $<BUILD_INTERFACE:${CPPLOGGING_GENERATED_INCLUDE_DIR}> | |||||
| $<INSTALL_INTERFACE:${CPPLOGGING_INSTALL_DIR_INCLUDE}> ) | $<INSTALL_INTERFACE:${CPPLOGGING_INSTALL_DIR_INCLUDE}> ) | ||||
| # Optimization #################################################################################### | # Optimization #################################################################################### | ||||