void-packages/srcpkgs/spotify-qt/patches/disable-crash-handler.patch
2021-08-15 17:21:31 -04:00

14 lines
459 B
Diff

--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -26,11 +26,6 @@
# Version macros
target_compile_definitions(spotify-qt-lib PUBLIC LIB_VERSION="v${PROJECT_VERSION}")
-# Check if using GCC for crash handler support
-if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
- target_compile_definitions(spotify-qt-lib PRIVATE IS_GNU_CXX)
-endif ()
-
# Link optional libraries
if (LIB_QT_LIBRARIES)
target_link_libraries(spotify-qt-lib PRIVATE ${LIB_QT_LIBRARIES})