mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 00:18:22 -04:00
CMake: massage IMPORTED targets and module path
- Add the Calamares CMake-modules to the search path automatically - Export to CalamaresTargets.cmake and use namespace Calamares:: - Document imported targets - Find Qt, because the translations machinery will need macros from that - The installed lib links to IMPORTED libraries from KF5, so we need to find them (again) as well.
This commit is contained in:
parent
f59b6da799
commit
dc16afac4a
5 changed files with 68 additions and 19 deletions
|
@ -93,7 +93,7 @@ function(calamares_add_library)
|
|||
|
||||
# add link targets
|
||||
target_link_libraries(${target}
|
||||
LINK_PUBLIC ${CALAMARES_LIBRARIES}
|
||||
LINK_PUBLIC ${Calamares_LIBRARIES}
|
||||
Qt5::Core
|
||||
Qt5::Gui
|
||||
Qt5::Widgets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue