Skip to content

Commit

Permalink
Fix yaml-cpp_SOURCE_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
mdouaihy authored and ruslo committed Jul 8, 2019
1 parent b162fb7 commit c953835
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,9 @@ set(_INSTALL_DESTINATIONS
add_library(yaml-cpp ${library_sources})

target_include_directories(yaml-cpp
PUBLIC $<BUILD_INTERFACE:${YAML_CPP_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:${INCLUDE_INSTALL_ROOT_DIR}>
PRIVATE $<BUILD_INTERFACE:${YAML_CPP_SOURCE_DIR}/src>)
PUBLIC $<BUILD_INTERFACE:${yaml-cpp_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:${INCLUDE_INSTALL_ROOT_DIR}>
PRIVATE $<BUILD_INTERFACE:${yaml-cpp_SOURCE_DIR}/src>)

set_target_properties(yaml-cpp PROPERTIES
COMPILE_FLAGS "${yaml_c_flags} ${yaml_cxx_flags}"
Expand Down

0 comments on commit c953835

Please sign in to comment.