mirror of
https://github.com/yuzu-emu/discord-rpc.git
synced 2024-11-24 01:15:41 +01:00
win32 only
This commit is contained in:
parent
930cd722d5
commit
9e31f96691
@ -24,6 +24,8 @@ add_library(rapidjson STATIC IMPORTED ${RAPIDJSON})
|
||||
add_subdirectory(src)
|
||||
add_subdirectory(examples/simple)
|
||||
add_subdirectory(examples/simpleSync)
|
||||
add_subdirectory(examples/simplest)
|
||||
|
||||
if(WIN32)
|
||||
add_subdirectory(examples/simplest)
|
||||
endif(WIN32)
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
include_directories(${PROJECT_SOURCE_DIR}/include)
|
||||
|
||||
add_library(discord-rpc-simple STATIC ${PROJECT_SOURCE_DIR}/include/discord-rpc.h discord-rpc-simple.cpp)
|
||||
|
||||
set(BASE_RPC_SRC ${PROJECT_SOURCE_DIR}/include/discord-rpc.h discord-rpc.cpp yolojson.h connection.h)
|
||||
|
||||
if(WIN32)
|
||||
add_library(discord-rpc-simple STATIC ${PROJECT_SOURCE_DIR}/include/discord-rpc.h discord-rpc-simple.cpp)
|
||||
|
||||
add_library(discord-rpc-sync STATIC ${BASE_RPC_SRC} connection_win_sync.cpp)
|
||||
target_include_directories(discord-rpc-sync PRIVATE ${RAPIDJSON}/include)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user