Skip to content

Commit

Permalink
Do not try setting -march on MSVC ARM64.
Browse files Browse the repository at this point in the history
  • Loading branch information
kobykahane committed Jan 5, 2024
1 parent 985271c commit 24bdc70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cryptopp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ endif()
# Aach32 and Aarch64 #####
# ##############################################################################

if(CRYPTOPP_ARMV8)
if(CRYPTOPP_ARMV8 AND NOT MSVC)
check_compile_link_option(
"-DCRYPTOPP_ARM_NEON_HEADER=1" CRYPTOPP_ARM_NEON_HEADER
"${TEST_PROG_DIR}/test_arm_neon_header.cpp"
Expand Down

0 comments on commit 24bdc70

Please sign in to comment.