Merge branch 'release_candidate' into release
[CRYENGINE.git] / Tools / CMake / modules / discord-rpc.cmake
blob3f88de76b46875a49354c6ad1dd475cfa19c3bc5
1 include_guard(GLOBAL)
3 if(WINDOWS)
4         add_library(discord-rpc SHARED IMPORTED GLOBAL)
5         set_target_properties(discord-rpc PROPERTIES IMPORTED_LOCATION "${SDK_DIR}/discord-rpc/win64-dynamic/bin/discord-rpc.dll")
6         set_target_properties(discord-rpc PROPERTIES IMPORTED_IMPLIB "${SDK_DIR}/discord-rpc/win64-dynamic/lib/discord-rpc.lib")
7         set_target_properties(discord-rpc PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${SDK_DIR}/discord-rpc/win64-dynamic/include")
9         deploy_runtime_files(${SDK_DIR}/discord-rpc/win64-dynamic/bin/discord-rpc.dll)
10 endif()