- replicate commit from gzdoom 201652bb36

This commit is contained in:
Rachael Alexanderson 2022-04-17 11:50:41 -04:00
parent 761502d0b8
commit f5579caa8f

View file

@ -42,7 +42,6 @@ if(WIN32)
endforeach()
endif(USE_STATIC_CRT)
target_compile_options(discord-rpc PRIVATE /EHsc
/Wall
/wd4100 # unreferenced formal parameter
/wd4514 # unreferenced inline
/wd4625 # copy constructor deleted
@ -73,10 +72,6 @@ if(UNIX)
add_library(discord-rpc ${BASE_RPC_SRC})
target_link_libraries(discord-rpc PUBLIC pthread)
if (APPLE)
target_link_libraries(discord-rpc PRIVATE "-framework AppKit, -mmacosx-version-min=10.10")
endif (APPLE)
target_compile_options(discord-rpc PRIVATE
-g
-Wall