diff --git a/src/calamares/CMakeLists.txt b/src/calamares/CMakeLists.txt index 9eb1e586b..2dcb28875 100644 --- a/src/calamares/CMakeLists.txt +++ b/src/calamares/CMakeLists.txt @@ -51,8 +51,8 @@ qt5_use_modules( calamares_bin Core Widgets ) target_link_libraries( calamares_bin ${LINK_LIBRARIES} ${CALAMARES_LIBRARIES} - Qt5Core - Qt5Widgets + Qt5::Core + Qt5::Widgets yaml-cpp ) diff --git a/src/libcalamares/CMakeLists.txt b/src/libcalamares/CMakeLists.txt index af0b25c84..1358089d2 100644 --- a/src/libcalamares/CMakeLists.txt +++ b/src/libcalamares/CMakeLists.txt @@ -45,7 +45,7 @@ target_link_libraries( calamareslib LINK_PUBLIC # External deps - Qt5Core + Qt5::Core ) install( TARGETS calamareslib