aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/convert/CMakeLists.txt
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2011-02-21 04:22:10 -0800
committerPhilip Balister <philip@opensdr.com>2011-02-21 04:22:10 -0800
commit9563275e85d794e66d0aed4fb1c446d3a20b1615 (patch)
tree4d2d10ae728d7dd1303e6d2466d0f2a8518ae238 /host/lib/convert/CMakeLists.txt
parent7a786b4eca75ba844a8c79798a5b245b445527da (diff)
parent4787c77bb089bf50a47207bbad55bd65a44769e4 (diff)
downloaduhd-9563275e85d794e66d0aed4fb1c446d3a20b1615.tar.gz
uhd-9563275e85d794e66d0aed4fb1c446d3a20b1615.tar.bz2
uhd-9563275e85d794e66d0aed4fb1c446d3a20b1615.zip
Merge branch 'next' of ettus.sourcerepo.com:ettus/uhdpriv into next
Diffstat (limited to 'host/lib/convert/CMakeLists.txt')
-rw-r--r--host/lib/convert/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/host/lib/convert/CMakeLists.txt b/host/lib/convert/CMakeLists.txt
index de9c660e1..abc9c2707 100644
--- a/host/lib/convert/CMakeLists.txt
+++ b/host/lib/convert/CMakeLists.txt
@@ -35,7 +35,10 @@ CHECK_INCLUDE_FILE_CXX(emmintrin.h HAVE_EMMINTRIN_H)
UNSET(CMAKE_REQUIRED_FLAGS)
IF(HAVE_EMMINTRIN_H)
- ADD_DEFINITIONS(${EMMINTRIN_FLAGS})
+ SET_SOURCE_FILES_PROPERTIES(
+ ${CMAKE_CURRENT_SOURCE_DIR}/convert_with_sse2.cpp
+ PROPERTIES COMPILE_FLAGS ${EMMINTRIN_FLAGS}
+ )
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/convert_with_sse2.cpp
)