Skip to content

Commit

Permalink
MDEV-20542 Windows enable/d2OptimizeHugeFunctions
Browse files Browse the repository at this point in the history
  • Loading branch information
vaintroub committed Sep 9, 2019
1 parent 43a6e81 commit 879c9dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/os/Windows.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 879c9dd

Please sign in to comment.