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

This commit is contained in:
Adriaan de Groot 2021-07-26 14:22:28 +02:00
parent a1fb83bdc4
commit cbb1a5ef36
2 changed files with 4 additions and 0 deletions

View File

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

View File

@ -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
# #