From b1647ca651a2a7fa66e9aac754e542dffba16f23 Mon Sep 17 00:00:00 2001 From: Pierre Wendling Date: Thu, 17 Aug 2023 10:22:52 -0400 Subject: [PATCH] add include dir --- test/cmake/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test/cmake/CMakeLists.txt b/test/cmake/CMakeLists.txt index 8d055240d..c353252cc 100644 --- a/test/cmake/CMakeLists.txt +++ b/test/cmake/CMakeLists.txt @@ -16,4 +16,5 @@ get_target_property(LIBRARY_TYPE yaml-cpp::yaml-cpp TYPE) add_executable(main main.cpp) set_target_properties(main PROPERTIES CXX_STANDARD 11) +target_include_directories(main PRIVATE "${YAML_CPP_INCLUDE_DIR}") target_link_libraries(main PRIVATE ${YAML_CPP_LIBRARIES})