Skip to content

Commit

Permalink
Minor code review
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Aug 16, 2024
1 parent 89535ea commit 3dde11e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/CompilerAndLinker.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
endif()

if(OpenMP_CXX_FOUND
or (XBOX_CONSOLE_TARGET STREQUAL "durango"))
OR (XBOX_CONSOLE_TARGET STREQUAL "durango"))
# OpenMP in MSVC is not compatible with /permissive- unless you disable two-phase lookup
list(APPEND COMPILER_SWITCHES /Zc:twoPhase-)
endif()
Expand Down

0 comments on commit 3dde11e

Please sign in to comment.