1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 12:45:20 +03:00
aports/community/spotify-qt/disable-crash-handler.patch
2023-11-17 20:56:34 +00:00

22 lines
786 B
Diff

Fix build on musl.
Patch-Source: https://github.com/void-linux/void-packages/blob/master/srcpkgs/spotify-qt/patches/disable-crash-handler.patch
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index c45485d..9833733 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -33,13 +33,6 @@ target_link_libraries(spotify-qt-lib PUBLIC spotify-qt-lib-third-party)
# Version macros
target_compile_definitions(spotify-qt-lib PUBLIC LIB_VERSION="v${PROJECT_VERSION}")
-# Check if using GCC
-if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
- # Used by crash handler
- target_compile_definitions(spotify-qt-lib PRIVATE IS_GNU_CXX)
- # Enable all compiler warnings
- target_compile_options(spotify-qt-lib PRIVATE -Wall -Wextra)
-endif ()
# Disable "secure" warnings on MSVC
if (MSVC)