mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 09:55:37 -04:00
CMake: ensure configuration-test can #include yamlcpp headers
This commit is contained in:
parent
30d08f3312
commit
eed207ae2e
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@ include( CMakeColors )
|
||||||
if( BUILD_TESTING )
|
if( BUILD_TESTING )
|
||||||
add_executable( test_conf test_conf.cpp )
|
add_executable( test_conf test_conf.cpp )
|
||||||
target_link_libraries( test_conf ${YAMLCPP_LIBRARY} )
|
target_link_libraries( test_conf ${YAMLCPP_LIBRARY} )
|
||||||
|
target_include_directories( test_conf PUBLIC ${YAMLCPP_INCLUDE_DIR} )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
file( GLOB SUBDIRECTORIES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*" )
|
file( GLOB SUBDIRECTORIES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*" )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue