mirror of
https://github.com/yuzu-emu/discord-rpc.git
synced 2024-11-27 21:04:25 +01:00
Fix CMake issue when ENABLE_IO_THREAD=OFF (#28)
This was probably just a typo.
This commit is contained in:
parent
2f54e62c23
commit
0ea7ddbd5a
@ -85,7 +85,7 @@ endif(UNIX)
|
|||||||
target_include_directories(discord-rpc PRIVATE ${RAPIDJSON}/include)
|
target_include_directories(discord-rpc PRIVATE ${RAPIDJSON}/include)
|
||||||
|
|
||||||
if (NOT ${ENABLE_IO_THREAD})
|
if (NOT ${ENABLE_IO_THREAD})
|
||||||
add_definitions(discord-rpc PUBLIC -DDISCORD_DISABLE_IO_THREAD)
|
target_compile_definitions(discord-rpc PUBLIC -DDISCORD_DISABLE_IO_THREAD)
|
||||||
endif (NOT ${ENABLE_IO_THREAD})
|
endif (NOT ${ENABLE_IO_THREAD})
|
||||||
|
|
||||||
if (${BUILD_DYNAMIC_LIB})
|
if (${BUILD_DYNAMIC_LIB})
|
||||||
|
Loading…
Reference in New Issue
Block a user