mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-24 16:54:45 +01:00
Fixed compile arguments for the discord module
This commit is contained in:
parent
4564475821
commit
dc31539f6e
@ -4,9 +4,9 @@ project(discord_integration)
|
|||||||
if (MSVC)
|
if (MSVC)
|
||||||
add_compile_options(/O2 /std:c++17 /EHsc)
|
add_compile_options(/O2 /std:c++17 /EHsc)
|
||||||
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||||
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
|
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup -fPIC)
|
||||||
else ()
|
else ()
|
||||||
add_compile_options(-O3 -std=c++17)
|
add_compile_options(-O3 -std=c++17 -fPIC)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
add_subdirectory("discord-rpc")
|
add_subdirectory("discord-rpc")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user