diff --git a/CMakeLists.txt b/CMakeLists.txt index a082038..1cc598c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -280,6 +280,10 @@ set(_INSTALL_DESTINATIONS ### Library ### add_library(yaml-cpp ${library_sources}) +target_include_directories(yaml-cpp INTERFACE + $ + ) + set_target_properties(yaml-cpp PROPERTIES COMPILE_FLAGS "${yaml_c_flags} ${yaml_cxx_flags}" )