Skip to content

Commit

Permalink
add include dir
Browse files Browse the repository at this point in the history
  • Loading branch information
FtZPetruska committed Aug 17, 2023
1 parent a4545e6 commit b1647ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})

0 comments on commit b1647ca

Please sign in to comment.