aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-10-15 02:23:08 -0700
committerChris Robinson <[email protected]>2012-10-15 02:23:08 -0700
commit617def3ef0755ade7eda391afb4dfcf32c670857 (patch)
tree3371adafcf802d933834f0624f095c627e14578b
parent4f5aafe59f936084d60f782122ca59db3d51dae0 (diff)
Require an alignment declaration for SSE support
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 822494b0..72b0b22c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -467,7 +467,7 @@ SET(HAVE_SSE 0)
SET(HAVE_NEON 0)
# Check for SSE support
-IF(SSE)
+IF(SSE AND ALIGN_DECL)
CHECK_INCLUDE_FILE(xmmintrin.h HAVE_XMMINTRIN_H "${SSE_SWITCH}")
IF(HAVE_XMMINTRIN_H)
SET(HAVE_SSE 1)