aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/convert
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2014-08-14 06:45:53 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2014-08-14 06:45:53 -0700
commite3826b1a671f4fe9e197b72a9c8dc0aa6976ea0c (patch)
tree47d899052407ea405b397786966bf69b6fd78cef /host/lib/convert
parent781d7a24aba25ab045d2f4456071ce9aad3b389c (diff)
downloaduhd-e3826b1a671f4fe9e197b72a9c8dc0aa6976ea0c.tar.gz
uhd-e3826b1a671f4fe9e197b72a9c8dc0aa6976ea0c.tar.bz2
uhd-e3826b1a671f4fe9e197b72a9c8dc0aa6976ea0c.zip
Restoring compatibility with CMake 2.6
* The UNSET command didn't exist back then, but using SET with no value does the same thing * CMake 2.6 doesn't like nested parantheses in IF statements, so tweak IF/ELSE statements
Diffstat (limited to 'host/lib/convert')
-rw-r--r--host/lib/convert/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/convert/CMakeLists.txt b/host/lib/convert/CMakeLists.txt
index 473b7f59f..363555f45 100644
--- a/host/lib/convert/CMakeLists.txt
+++ b/host/lib/convert/CMakeLists.txt
@@ -66,7 +66,7 @@ ENDIF()
SET(CMAKE_REQUIRED_FLAGS ${EMMINTRIN_FLAGS})
CHECK_INCLUDE_FILE_CXX(emmintrin.h HAVE_EMMINTRIN_H)
-UNSET(CMAKE_REQUIRED_FLAGS)
+SET(CMAKE_REQUIRED_FLAGS)
IF(HAVE_EMMINTRIN_H)
SET(convert_with_sse2_sources