Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
hardware:sdr
sdrpp
sdrpp-discord.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sdrpp-discord.patch of Package sdrpp
--- a/misc_modules/discord_integration/discord-rpc/src/CMakeLists.txt +++ b/misc_modules/discord_integration/discord-rpc/src/CMakeLists.txt @@ -70,7 +70,7 @@ if(UNIX) set(BASE_RPC_SRC ${BASE_RPC_SRC} discord_register_linux.cpp) endif(APPLE) - add_library(discord-rpc ${BASE_RPC_SRC}) + add_library(discord-rpc STATIC ${BASE_RPC_SRC}) target_link_libraries(discord-rpc PUBLIC pthread) if (APPLE) @@ -100,9 +100,7 @@ if(UNIX) -Wno-global-constructors ) - if (${BUILD_SHARED_LIBS}) - target_compile_options(discord-rpc PRIVATE -fPIC) - endif (${BUILD_SHARED_LIBS}) + target_compile_options(discord-rpc PRIVATE -fPIC) if (APPLE) target_link_libraries(discord-rpc PRIVATE "-framework AppKit") @@ -115,7 +113,4 @@ if (NOT ${ENABLE_IO_THREAD}) target_compile_definitions(discord-rpc PUBLIC -DDISCORD_DISABLE_IO_THREAD) endif (NOT ${ENABLE_IO_THREAD}) -if (${BUILD_SHARED_LIBS}) - target_compile_definitions(discord-rpc PUBLIC -DDISCORD_DYNAMIC_LIB) - target_compile_definitions(discord-rpc PRIVATE -DDISCORD_BUILDING_SDK) -endif(${BUILD_SHARED_LIBS}) \ No newline at end of file +target_compile_definitions(discord-rpc PRIVATE -DDISCORD_BUILDING_SDK)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor