mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
externals: silence warning C4390 on MSVC for cryptopp (#2805)
This commit is contained in:
parent
6ba089fafb
commit
d1e414d813
1 changed files with 5 additions and 0 deletions
5
externals/cryptopp/CMakeLists.txt
vendored
5
externals/cryptopp/CMakeLists.txt
vendored
|
@ -44,6 +44,11 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Intel")
|
||||||
add_definitions(-wd68 -wd186 -wd279 -wd327 -wd161 -wd3180)
|
add_definitions(-wd68 -wd186 -wd279 -wd327 -wd161 -wd3180)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(MSVC)
|
||||||
|
# Disable C4390: empty controlled statement found: is this the intent?
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4390")
|
||||||
|
endif()
|
||||||
|
|
||||||
# Endianness
|
# Endianness
|
||||||
TEST_BIG_ENDIAN(IS_BIG_ENDIAN)
|
TEST_BIG_ENDIAN(IS_BIG_ENDIAN)
|
||||||
if(IS_BIG_ENDIAN)
|
if(IS_BIG_ENDIAN)
|
||||||
|
|
Loading…
Reference in a new issue