summaryrefslogtreecommitdiffstats
path: root/host/CMakeLists.txt
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2010-03-08 16:13:49 -0800
committerMatt Ettus <matt@ettus.com>2010-03-08 16:13:49 -0800
commitf6582b27c129aac9ea6991a6a5c7e1f5a17cd7a6 (patch)
tree3b5efb8a42f3898a3773c798befd812b015d84d9 /host/CMakeLists.txt
parente273ea92d83d46ca350ac07e3d836a4d99b106c2 (diff)
parent1b965831ae7588c7879d84de4e5fbd78ca614761 (diff)
downloaduhd-f6582b27c129aac9ea6991a6a5c7e1f5a17cd7a6.tar.gz
uhd-f6582b27c129aac9ea6991a6a5c7e1f5a17cd7a6.tar.bz2
uhd-f6582b27c129aac9ea6991a6a5c7e1f5a17cd7a6.zip
Merge branch 'u1e_uhd' of ettus.sourcerepo.com:ettus/uhd into u1e_uhd
Diffstat (limited to 'host/CMakeLists.txt')
-rw-r--r--host/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt
index 70c04631b..30f4789a3 100644
--- a/host/CMakeLists.txt
+++ b/host/CMakeLists.txt
@@ -73,6 +73,15 @@ INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
########################################################################
+# Setup Endianess
+########################################################################
+INCLUDE(TestBigEndian)
+TEST_BIG_ENDIAN(HAVE_BIG_ENDIAN)
+IF(HAVE_BIG_ENDIAN)
+ ADD_DEFINITIONS("-DHAVE_BIG_ENDIAN=/* */")
+ENDIF(HAVE_BIG_ENDIAN)
+
+########################################################################
# Create Uninstall Target
########################################################################
CONFIGURE_FILE(