|
|
@@ -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 |
|
|
|
$<BUILD_INTERFACE:${CPPLOGGING_INCLUDE_DIR}> |
|
|
|
$<BUILD_INTERFACE:${CPPLOGGING_GENERATED_INCLUDE_DIR}> |
|
|
|
$<INSTALL_INTERFACE:${CPPLOGGING_INSTALL_DIR_INCLUDE}> ) |
|
|
|
|
|
|
|
# Shared Library ################################################################################## |
|
|
@@ -74,6 +75,7 @@ Set_Target_Properties ( cpplogging-shared |
|
|
|
Target_Include_Directories ( cpplogging-shared |
|
|
|
PUBLIC |
|
|
|
$<BUILD_INTERFACE:${CPPLOGGING_INCLUDE_DIR}> |
|
|
|
$<BUILD_INTERFACE:${CPPLOGGING_GENERATED_INCLUDE_DIR}> |
|
|
|
$<INSTALL_INTERFACE:${CPPLOGGING_INSTALL_DIR_INCLUDE}> ) |
|
|
|
|
|
|
|
# Optimization #################################################################################### |
|
|
|