Distinguish between mingw and msvc flags
This commit is contained in:
parent
f2fa0cf55a
commit
e0bb415b02
1 changed files with 5 additions and 1 deletions
|
|
@ -12,7 +12,11 @@ if (HAVE_X86INTRIN_H AND UNIX)
|
|||
add_compile_options (-DHAVE_X86INTRIN_H)
|
||||
set (SFIZZ_SIMD_SOURCES sfizz/SIMDSSE.cpp)
|
||||
elseif (HAVE_INTRIN_H AND WIN32)
|
||||
add_compile_options (-DHAVE_INTRIN_H)
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
|
||||
add_compile_options ("/DHAVE_INTRIN_H")
|
||||
else()
|
||||
add_compile_options ("-DHAVE_INTRIN_H")
|
||||
endif()
|
||||
set (SFIZZ_SIMD_SOURCES sfizz/SIMDSSE.cpp)
|
||||
elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "armv7l")
|
||||
add_compile_options (-DHAVE_ARM_NEON_H)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue