Skip to content

Commit

Permalink
Minor review for CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Jan 14, 2021
1 parent ca007a7 commit 9090b40
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 @@ -225,7 +225,7 @@ install(FILES
if(MSVC)
target_compile_options(${PROJECT_NAME} PRIVATE /fp:fast)

if (${CMAKE_SIZEOF_VOID_P} EQUAL "4")
if (${CMAKE_SIZEOF_VOID_P} EQUAL "4" AND (NOT ${CMAKE_VS_PLATFORM_NAME} MATCHES "arm"))
target_compile_options(${PROJECT_NAME} PRIVATE /arch:SSE2)
endif()
endif()
Expand Down

0 comments on commit 9090b40

Please sign in to comment.