Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37728001
en ru br
ALT Linux repos
S:23.04.3-alt1

Group :: Education
RPM: kde5-marble

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: alt-astro-static.patch
Download


--- a/src/lib/astro/CMakeLists.txt
+++ b/src/lib/astro/CMakeLists.txt
@@ -19,7 +19,7 @@ SET(astrolib_SRCS
   solarsystem.cpp
 )
 
-ADD_LIBRARY(astro ${astrolib_SRCS})
+ADD_LIBRARY(astro STATIC ${astrolib_SRCS})
 generate_export_header(astro BASE_NAME astrolib)
 target_include_directories(astro PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>)
 
@@ -56,7 +56,6 @@ elseif(APPLE)
 else()
   install(TARGETS astro
     EXPORT AstroTargets
-    LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
     ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
   )
 endif()
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin