Skip to content

Commit

Permalink
Merge pull request #713 from rhcher/fix/windows_build
Browse files Browse the repository at this point in the history
Fix build on Windows
  • Loading branch information
christianparpart authored Jun 4, 2022
2 parents b750f67 + d95cae1 commit 6d706d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crispy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ else()
list(APPEND CRISPY_CORE_LIBS ${FILESYSTEM_LIBS})
endif()

if(CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL amd64)
if(CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL amd64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL AMD64)
target_compile_options(crispy-core PUBLIC -maes)
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL aarch64) # ARM64
target_compile_options(crispy-core PUBLIC -march=armv8-a+fp+simd+crypto+crc)
Expand Down

0 comments on commit 6d706d0

Please sign in to comment.