Bladeren bron

* Fixed include directories in cmake

master
bergmann 4 jaren geleden
bovenliggende
commit
6ca7bd6a9e
1 gewijzigde bestanden met toevoegingen van 3 en 1 verwijderingen
  1. +3
    -1
      src/CMakeLists.txt

+ 3
- 1
src/CMakeLists.txt Bestand weergeven

@@ -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 ####################################################################################


Laden…
Annuleren
Opslaan