Allow it to build on 32-bit
This commit is contained in:
parent
e6d25114a6
commit
d4abf9bedb
2 changed files with 7 additions and 1 deletions
|
|
@ -28,6 +28,11 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
|
|||
add_compile_options(/Zc:__cplusplus)
|
||||
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||
endif()
|
||||
if (CMAKE_SYSTEM_PROCESSOR MATCHES "^i.86$")
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
|
||||
add_compile_options(-msse2)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_library(sfizz-sndfile INTERFACE)
|
||||
|
||||
|
|
|
|||
3
src/external/atomic_queue/defs.h
vendored
3
src/external/atomic_queue/defs.h
vendored
|
|
@ -6,7 +6,8 @@
|
|||
|
||||
#include <atomic>
|
||||
|
||||
#if defined(__x86_64__) || defined(_M_X64)
|
||||
#if defined(__x86_64__) || defined(_M_X64) || \
|
||||
defined(__i386__) || defined(_M_IX86)
|
||||
#include <emmintrin.h>
|
||||
namespace atomic_queue {
|
||||
constexpr int CACHE_LINE_SIZE = 64;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue