CMake: within Calamares repo, use the (eventual) imported names of libraries

main
Adriaan de Groot 4 years ago
parent a1fb83bdc4
commit cbb1a5ef36

@ -166,6 +166,8 @@ target_link_libraries( calamares
${OPTIONAL_PUBLIC_LIBRARIES} ${OPTIONAL_PUBLIC_LIBRARIES}
) )
add_library(Calamares::calamares ALIAS calamares)
### Installation ### Installation
# #
# #

@ -89,6 +89,8 @@ if( WITH_QML )
target_link_libraries( calamaresui PUBLIC Qt5::QuickWidgets ) target_link_libraries( calamaresui PUBLIC Qt5::QuickWidgets )
endif() endif()
add_library(Calamares::calamaresui ALIAS calamaresui)
### Installation ### Installation
# #

Loading…
Cancel
Save