Skip to content

Commit

Permalink
Pass more flags on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Jul 24, 2024
1 parent 4901896 commit 59e1256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/cmake/OptionsMSVC.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ if (${CMAKE_BUILD_TYPE} MATCHES "Debug")
#set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /VERBOSE /VERBOSE:INCR /TIME")
#set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /VERBOSE /VERBOSE:INCR /TIME")
elseif (${CMAKE_BUILD_TYPE} MATCHES "Release")
MSVC_ADD_COMPILE_OPTIONS(/Oy-)
MSVC_ADD_COMPILE_OPTIONS(/Oy- /Gw /Gy /GF)
endif ()

if (NOT ${CMAKE_GENERATOR} MATCHES "Ninja")
Expand Down

0 comments on commit 59e1256

Please sign in to comment.