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.
main
Adriaan de Groot 7 years ago
parent f047b0b110
commit db0c1ffd6d

@ -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…
Cancel
Save