Discord Rich Presence CMake integration
I have no idea if this works or not. Hopefully the build bot will tell me.
This commit is contained in:
committed by
Sleepy Flower Girl
parent
57bd13a0ce
commit
63f03455f3
@@ -15,6 +15,10 @@ PRIVATE
|
||||
cpp-optparse
|
||||
)
|
||||
|
||||
if(USE_DISCORD_PRESENCE)
|
||||
target_compile_definitions(dolphin-nogui PRIVATE -DUSE_DISCORD_PRESENCE)
|
||||
endif()
|
||||
|
||||
set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} dolphin-nogui)
|
||||
install(TARGETS dolphin-nogui RUNTIME DESTINATION ${bindir})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user