mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-01 03:05:24 +01:00
Disable discord's examples to fix 32 bit builds
This commit is contained in:
committed by
Michał Janiszewski
parent
551dac9995
commit
da9502ae46
@@ -144,6 +144,9 @@ if (CXX_WARN_SUGGEST_FINAL_METHODS)
|
||||
endif ()
|
||||
|
||||
if(EXISTS "${ROOT_DIR}/discord-rpc")
|
||||
# Don't build discord's examples, some of which are in C and do not honour
|
||||
# the flags we set for C++. Also we don't use the provided examples.
|
||||
set(BUILD_EXAMPLES OFF CACHE BOOL "Build example apps")
|
||||
add_subdirectory("${ROOT_DIR}/discord-rpc")
|
||||
add_definitions(-D__ENABLE_DISCORD__)
|
||||
include_directories("${ROOT_DIR}/discord-rpc/include")
|
||||
|
||||
Reference in New Issue
Block a user