aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/convert
diff options
context:
space:
mode:
authorMichael Dickens <michael.dickens@ettus.com>2021-06-25 15:41:57 -0400
committerMartin Braun <martin@gnuradio.org>2021-07-06 04:29:55 -0700
commitd922ad3d61abd8e0cfbcbf76a800093e6ba838b3 (patch)
treec19431bf2a7589d40d42f86794908fe4c4cfe5cc /host/lib/convert
parentc1c05e94b61eb4e6935bfb14ddc338afae9d96d1 (diff)
downloaduhd-d922ad3d61abd8e0cfbcbf76a800093e6ba838b3.tar.gz
uhd-d922ad3d61abd8e0cfbcbf76a800093e6ba838b3.tar.bz2
uhd-d922ad3d61abd8e0cfbcbf76a800093e6ba838b3.zip
cmake: correctly set and unset any CMAKE_REQUIRED variables
Diffstat (limited to 'host/lib/convert')
-rw-r--r--host/lib/convert/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/convert/CMakeLists.txt b/host/lib/convert/CMakeLists.txt
index f9128fe16..aee62c82f 100644
--- a/host/lib/convert/CMakeLists.txt
+++ b/host/lib/convert/CMakeLists.txt
@@ -23,12 +23,12 @@ endif()
set(CMAKE_REQUIRED_FLAGS ${EMMINTRIN_FLAGS})
CHECK_INCLUDE_FILE_CXX(emmintrin.h HAVE_EMMINTRIN_H)
-set(CMAKE_REQUIRED_FLAGS)
+unset(CMAKE_REQUIRED_FLAGS)
if(ENABLE_SSSE3)
set(CMAKE_REQUIRED_FLAGS ${TMMINTRIN_FLAGS})
CHECK_INCLUDE_FILE_CXX(tmmintrin.h HAVE_TMMINTRIN_H)
-set(CMAKE_REQUIRED_FLAGS)
+unset(CMAKE_REQUIRED_FLAGS)
endif(ENABLE_SSSE3)
if(HAVE_EMMINTRIN_H)