CMake: chase renamed YAMLCPP

main
Adriaan de Groot 4 years ago
parent ce67712009
commit 4114a2bbe8

@ -123,5 +123,5 @@ if( BUILD_TESTING )
target_link_libraries( loadmodule PRIVATE Qt5::Core Qt5::Widgets calamares calamaresui )
add_executable( test_conf test_conf.cpp )
target_link_libraries( test_conf PUBLIC yamlcpp Qt5::Core )
target_link_libraries( test_conf PUBLIC yamlcpp::yamlcpp Qt5::Core )
endif()

@ -160,7 +160,7 @@ target_link_libraries( calamares
LINK_PRIVATE
${OPTIONAL_PRIVATE_LIBRARIES}
LINK_PUBLIC
yamlcpp
yamlcpp::yamlcpp
Qt5::Core
KF5::CoreAddons
${OPTIONAL_PUBLIC_LIBRARIES}
@ -315,7 +315,7 @@ calamares_add_test(
# This is not an actual test, it's a test / demo application
# for experimenting with GeoIP.
add_executable( test_geoip geoip/test_geoip.cpp ${geoip_src} )
target_link_libraries( test_geoip calamares Qt5::Network yamlcpp )
target_link_libraries( test_geoip calamares Qt5::Network yamlcpp::yamlcpp )
calamares_automoc( test_geoip )
if ( Qt5DBus_FOUND )

@ -76,7 +76,7 @@ calamares_add_library( calamaresui
EXPORT Calamares
VERSION ${CALAMARES_VERSION_SHORT}
)
target_link_libraries( calamaresui PRIVATE yamlcpp )
target_link_libraries( calamaresui PRIVATE yamlcpp::yamlcpp )
if( KF5CoreAddons_FOUND AND KF5CoreAddons_VERSION VERSION_GREATER_EQUAL 5.58 )
target_compile_definitions( calamaresui PRIVATE WITH_KOSRelease )
endif()

@ -17,5 +17,5 @@ calamares_add_test(
Tests.cpp
ContextualProcessJob.cpp # Builds it a second time
LIBRARIES
yamlcpp
yamlcpp::yamlcpp
)

@ -31,7 +31,7 @@ if ( KPMcore_FOUND AND Qt5DBus_FOUND AND KF5CoreAddons_FOUND AND KF5Config_FOUND
Tests.cpp
LIBRARIES
calamares_job_fsresizer # From above
yamlcpp
yamlcpp::yamlcpp
DEFINITIONS ${KPMcore_API_DEFINITIONS}
)
else()

@ -42,5 +42,5 @@ calamares_add_test(
Tests.cpp
HostInfoJob.cpp
LIBRARIES
yamlcpp
yamlcpp::yamlcpp
)

@ -17,5 +17,5 @@ calamares_add_test(
Tests.cpp
LIBRARIES
calamares_job_initcpio # From above
yamlcpp
yamlcpp::yamlcpp
)

@ -17,5 +17,5 @@ calamares_add_test(
Tests.cpp
LIBRARIES
calamares_job_initramfs # From above
yamlcpp
yamlcpp::yamlcpp
)

@ -33,7 +33,7 @@ calamares_add_plugin( locale
LINK_PRIVATE_LIBRARIES
Qt5::Network
${geoip_libs}
yamlcpp
yamlcpp::yamlcpp
SHARED_LIB
)

@ -16,5 +16,5 @@ calamares_add_test(
SOURCES
Tests.cpp
LIBRARIES
yamlcpp
yamlcpp::yamlcpp
)

Loading…
Cancel
Save