summaryrefslogtreecommitdiffstats
path: root/host/CMakeLists.txt
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-02-25 17:44:12 +0000
committerJosh Blum <josh@joshknows.com>2010-02-25 17:44:12 +0000
commitc95a158548e93d1ea37061e0b937e78ab0486b57 (patch)
tree50531279c454f3b2d07e52dd8eb2562b7fabbbc7 /host/CMakeLists.txt
parent3cd7bc9be6420623eb7803e490b39ecc75d83ed9 (diff)
parent5715b2c4937ca094ca8f1d9d9b55c4edcc959981 (diff)
downloaduhd-c95a158548e93d1ea37061e0b937e78ab0486b57.tar.gz
uhd-c95a158548e93d1ea37061e0b937e78ab0486b57.tar.bz2
uhd-c95a158548e93d1ea37061e0b937e78ab0486b57.zip
Merge branch 'master' 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(