diff options
| author | 2017-06-25 02:38:52 +0200 | |
|---|---|---|
| committer | 2017-06-24 17:38:52 -0700 | |
| commit | d1e414d813fcdb2dd564c057414d90684006cb61 (patch) | |
| tree | dd21f38d2930b4686753f99c01293c1f18a2327c | |
| parent | Set global definition WIN32_LEAN_AND_MEAN (#2807) (diff) | |
| download | yuzu-d1e414d813fcdb2dd564c057414d90684006cb61.tar.gz yuzu-d1e414d813fcdb2dd564c057414d90684006cb61.tar.xz yuzu-d1e414d813fcdb2dd564c057414d90684006cb61.zip | |
externals: silence warning C4390 on MSVC for cryptopp (#2805)
| -rw-r--r-- | externals/cryptopp/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/externals/cryptopp/CMakeLists.txt b/externals/cryptopp/CMakeLists.txt index 864de18bb..8a626e44a 100644 --- a/externals/cryptopp/CMakeLists.txt +++ b/externals/cryptopp/CMakeLists.txt | |||
| @@ -44,6 +44,11 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Intel") | |||
| 44 | add_definitions(-wd68 -wd186 -wd279 -wd327 -wd161 -wd3180) | 44 | add_definitions(-wd68 -wd186 -wd279 -wd327 -wd161 -wd3180) |
| 45 | endif() | 45 | endif() |
| 46 | 46 | ||
| 47 | if(MSVC) | ||
| 48 | # Disable C4390: empty controlled statement found: is this the intent? | ||
| 49 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4390") | ||
| 50 | endif() | ||
| 51 | |||
| 47 | # Endianness | 52 | # Endianness |
| 48 | TEST_BIG_ENDIAN(IS_BIG_ENDIAN) | 53 | TEST_BIG_ENDIAN(IS_BIG_ENDIAN) |
| 49 | if(IS_BIG_ENDIAN) | 54 | if(IS_BIG_ENDIAN) |