Skip to content

Instantly share code, notes, and snippets.

@jpcima
Last active April 3, 2020 00:27
Show Gist options
  • Save jpcima/b193dd5f3bcfd530cc34ff509c44d2ad to your computer and use it in GitHub Desktop.
Save jpcima/b193dd5f3bcfd530cc34ff509c44d2ad to your computer and use it in GitHub Desktop.
diff --git a/cmake/SfizzConfig.cmake b/cmake/SfizzConfig.cmake
index bbf9f43e..77415fdf 100644
--- a/cmake/SfizzConfig.cmake
+++ b/cmake/SfizzConfig.cmake
@@ -32,7 +32,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
add_compile_options(-Wextra)
add_compile_options(-ffast-math)
add_compile_options(-fno-omit-frame-pointer) # For debugging purposes
- if (SFIZZ_SYSTEM_PROCESSOR MATCHES "^i.86$")
+ if (SFIZZ_SYSTEM_PROCESSOR MATCHES "^(i.86|x86_64)$")
add_compile_options(-msse2)
endif()
elseif (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment