mirror of
https://github.com/yuzu-emu/discord-rpc
synced 2024-11-26 10:57:51 +00:00
21 lines
No EOL
516 B
CMake
21 lines
No EOL
516 B
CMake
include_directories(${PROJECT_SOURCE_DIR}/include)
|
|
add_executable(
|
|
send-presence
|
|
MACOSX_BUNDLE
|
|
send-presence.c
|
|
)
|
|
set_target_properties(send-presence PROPERTIES
|
|
MACOSX_BUNDLE_BUNDLE_NAME "Send Presence"
|
|
MACOSX_BUNDLE_GUI_IDENTIFIER "com.discordapp.examples.send-presence"
|
|
)
|
|
target_link_libraries(send-presence discord-rpc)
|
|
|
|
install(
|
|
TARGETS send-presence
|
|
RUNTIME
|
|
DESTINATION "bin"
|
|
CONFIGURATIONS Release
|
|
BUNDLE
|
|
DESTINATION "bin"
|
|
CONFIGURATIONS Release
|
|
) |