diff options
author | Matt Ettus <matt@ettus.com> | 2010-03-08 16:13:49 -0800 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2010-03-08 16:13:49 -0800 |
commit | f6582b27c129aac9ea6991a6a5c7e1f5a17cd7a6 (patch) | |
tree | 3b5efb8a42f3898a3773c798befd812b015d84d9 /host/CMakeLists.txt | |
parent | e273ea92d83d46ca350ac07e3d836a4d99b106c2 (diff) | |
parent | 1b965831ae7588c7879d84de4e5fbd78ca614761 (diff) | |
download | uhd-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.txt | 9 |
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( |