CMake: ensure configuration-test can #include yamlcpp headers

main
Adriaan de Groot 7 years ago
parent 30d08f3312
commit eed207ae2e

@ -3,6 +3,7 @@ include( CMakeColors )
if( BUILD_TESTING )
add_executable( test_conf test_conf.cpp )
target_link_libraries( test_conf ${YAMLCPP_LIBRARY} )
target_include_directories( test_conf PUBLIC ${YAMLCPP_INCLUDE_DIR} )
endif()
file( GLOB SUBDIRECTORIES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*" )

Loading…
Cancel
Save