[libcalamares] Link publicly to yaml-cpp

Needed on FreeBSD, where you otherwise might not get the
include paths for yaml-cpp added -- and utils/Yaml.h
expects them to be there.
This commit is contained in:
Adriaan de Groot 2020-10-23 12:01:29 +02:00
parent 0cb6c89876
commit c412e285c2
2 changed files with 2 additions and 2 deletions

View File

@ -148,8 +148,8 @@ calamares_automoc( calamares )
target_link_libraries( calamares
LINK_PRIVATE
${OPTIONAL_PRIVATE_LIBRARIES}
yamlcpp
LINK_PUBLIC
yamlcpp
Qt5::Core
KF5::CoreAddons
${OPTIONAL_PUBLIC_LIBRARIES}

View File

@ -85,7 +85,7 @@ calamares_add_test(
${JOB_SRC}
${CONFIG_SRC}
LIBRARIES
${USER_EXTRA_LIB}
Qt5::DBus # HostName job can use DBus to systemd
${CRYPT_LIBRARIES} # SetPassword job uses crypt()
${USER_EXTRA_LIB}
)