From d6825c4986aaf7f95c698d642098425a49079546 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Wed, 28 Jul 2021 13:20:35 +0200 Subject: [PATCH] [libcalamares] Fix linking with renamed targets --- src/libcalamares/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcalamares/CMakeLists.txt b/src/libcalamares/CMakeLists.txt index 2f542450b..d4755bde4 100644 --- a/src/libcalamares/CMakeLists.txt +++ b/src/libcalamares/CMakeLists.txt @@ -315,10 +315,10 @@ 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::yamlcpp ) +target_link_libraries( test_geoip Calamares::calamares Qt5::Network yamlcpp::yamlcpp ) calamares_automoc( test_geoip ) if ( Qt5DBus_FOUND ) add_executable( test_automount partition/calautomount.cpp ) - target_link_libraries( test_automount calamares Qt5::DBus ) + target_link_libraries( test_automount Calamares::calamares Qt5::DBus ) endif()