Fix CMake issue when ENABLE_IO_THREAD=OFF (#28)
This was probably just a typo.
This commit is contained in:
parent
2f54e62c23
commit
0ea7ddbd5a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue