summaryrefslogtreecommitdiff
path: root/media-sound/rosegarden/files/rosegarden-25.12-force_static.patch
blob: 9cca28660f20ebd468aec7219796f0388c1be4a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
it fails to build with shared libs, force static for now
see https://bugs.gentoo.org/957755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -237,14 +237,8 @@ feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
 # Unit tests disabled: use a static lib
 # Unit tests enabled: use shared libs, to speed up linking
-if(BUILD_TESTING)
-    set(RG_LIBRARY_TYPE SHARED)
-    message(STATUS "Building unit tests, using shared libraries")
-else()
     set(RG_LIBRARY_TYPE STATIC)
     set(ROSEGARDENPRIVATE_STATIC_BUILD TRUE) # for generating rosegardenprivate-export.h
-    message(STATUS "Not building unit tests, using a static library for rosegarden")
-endif()
 
 #########################
 # target for cppcheck