mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-12-21 15:37:18 +01:00
Update WIP discord and some vendors.
CPR has features disabled and PCRE is fully disabled until updated to new code.
This commit is contained in:
12
vendor/DPP/library/CMakeLists.txt
vendored
12
vendor/DPP/library/CMakeLists.txt
vendored
@@ -110,7 +110,7 @@ if (BUILD_VOICE_SUPPORT)
|
||||
|
||||
if(DEFINED OPUS_FOUND)
|
||||
message("-- Found Opus ${Green}${OPUS_LIBRARIES}${ColourReset}")
|
||||
if(PKG_CONFIG_FOUND AND DEFINED sodium_VERSION_STRING)
|
||||
if((WIN32 OR PKG_CONFIG_FOUND) AND DEFINED sodium_VERSION_STRING AND DEFINED sodium_LIBRARY_RELEASE)
|
||||
add_compile_definitions(HAVE_VOICE)
|
||||
|
||||
message("-- Sodium ${Green}${sodium_VERSION_STRING}${ColourReset}")
|
||||
@@ -170,9 +170,15 @@ endif()
|
||||
|
||||
if(MSVC)
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++17 /Od /DEBUG /Zi /sdl /MP /DFD_SETSIZE=1024 /Zc:preprocessor")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++17 /Od /DEBUG /Zi /sdl /DFD_SETSIZE=1024")
|
||||
else()
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++17 /O2 /Oi /Oy /GL /Gy /sdl /MP /DFD_SETSIZE=1024 /Zc:preprocessor")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++17 /O2 /Oi /Oy /Gy /sdl /DFD_SETSIZE=1024")
|
||||
endif()
|
||||
if(NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP /Zc:preprocessor")
|
||||
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /GL")
|
||||
endif()
|
||||
endif()
|
||||
string(REGEX REPLACE "/W[1|2|3|4]" "/W3" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user