diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2019-09-09 19:57:25 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2019-09-09 19:57:25 +0200 |
commit | 879c9ddce7fd89f06f538e380016b408e4f2a2f4 (patch) | |
tree | fba76e0e26cf53193fae01aaf40260fb366991a8 /cmake | |
parent | 43a6e81ccb5026c4d60e27b504fbdc77951e906d (diff) | |
download | mariadb-git-879c9ddce7fd89f06f538e380016b408e4f2a2f4.tar.gz |
MDEV-20542 Windows enable/d2OptimizeHugeFunctions
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/os/Windows.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/os/Windows.cmake b/cmake/os/Windows.cmake index ae0beeae5c5..ca6d13e1c1b 100644 --- a/cmake/os/Windows.cmake +++ b/cmake/os/Windows.cmake @@ -164,6 +164,8 @@ IF(MSVC) # Noisy warning C4800: 'type': forcing value to bool 'true' or 'false' (performance warning), # removed in VS2017 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4800") + ELSE() + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /d2OptimizeHugeFunctions") ENDIF() ENDIF() |