mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-26 06:50:06 +00:00
Disable warning for Cryptopp
Add CXX_FLAGS /W0 or -w, to suppress compiler warning in cryptopp component
This commit is contained in:
parent
160df440bc
commit
06e99970da
7
externals/cryptopp/CMakeLists.txt
vendored
7
externals/cryptopp/CMakeLists.txt
vendored
@ -44,6 +44,13 @@ 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()
|
||||||
|
|
||||||
|
#disable warning for external libraries
|
||||||
|
if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
|
||||||
|
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W0" )
|
||||||
|
else()
|
||||||
|
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w" )
|
||||||
|
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 New Issue
Block a user