Skip to content

Commit

Permalink
Fix cmd line parameter warning on older MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
darksylinc committed Oct 12, 2023
1 parent 62acc72 commit 6085437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ if (MSVC)
# set variable to state that we are using jom makefiles
set(JOM TRUE)
endif ()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /fp:fast /Zc:cplusplus")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /fp:fast /Zc:__cplusplus")
if (NOT OGRE_PLATFORM_X64)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /arch:SSE2")
endif()
Expand Down

0 comments on commit 6085437

Please sign in to comment.