mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
CMake: just install unversioned .so
- Applies to libcalamares and libcalamaresui.so, install with no version, just the bare .so. Since Calamares doesn't do versioning anyway, and its plugins should be re-compiled for any change, putting them in lib as unversioned .so's should make Calamares happy and silence lintian.
This commit is contained in:
parent
f047b0b110
commit
db0c1ffd6d
3 changed files with 3 additions and 5 deletions
|
@ -42,7 +42,7 @@ add_calamares_translations( ${CALAMARES_TRANSLATION_LANGUAGES} )
|
|||
set( final_src ${calamaresUi_H} ${calamaresSources} ${calamaresRc} ${trans_outfile} )
|
||||
|
||||
add_executable( calamares_bin ${final_src} )
|
||||
SET_TARGET_PROPERTIES(calamares_bin
|
||||
set_target_properties(calamares_bin
|
||||
PROPERTIES
|
||||
AUTOMOC TRUE
|
||||
ENABLE_EXPORTS TRUE
|
||||
|
|
|
@ -92,9 +92,8 @@ target_link_libraries( calamares
|
|||
|
||||
install( TARGETS calamares
|
||||
EXPORT CalamaresLibraryDepends
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/calamares/
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/calamares/
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
)
|
||||
|
||||
# Install header files
|
||||
|
|
|
@ -79,5 +79,4 @@ calamares_add_library( calamaresui
|
|||
RESOURCES libcalamaresui.qrc
|
||||
EXPORT CalamaresLibraryDepends
|
||||
NO_VERSION
|
||||
INSTALL_BINDIR ${CMAKE_INSTALL_LIBDIR}/calamares/
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue