summaryrefslogtreecommitdiffstats
path: root/depends
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-02-09 21:00:45 +0100
committerPetr Mrázek <peterix@gmail.com>2015-04-12 20:57:18 +0200
commitd1ba972c596e38085c49208eee759302a57d1662 (patch)
tree9a00ef5003c5077a4641e92f2d4bdb11845d79e7 /depends
parentdb877ba121ff87a4e029daf8555d85dfef45993a (diff)
downloadMultiMC-d1ba972c596e38085c49208eee759302a57d1662.tar
MultiMC-d1ba972c596e38085c49208eee759302a57d1662.tar.gz
MultiMC-d1ba972c596e38085c49208eee759302a57d1662.tar.lz
MultiMC-d1ba972c596e38085c49208eee759302a57d1662.tar.xz
MultiMC-d1ba972c596e38085c49208eee759302a57d1662.zip
SCRATCH move some cmake bits
Diffstat (limited to 'depends')
-rw-r--r--depends/classparser/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/depends/classparser/CMakeLists.txt b/depends/classparser/CMakeLists.txt
index abae3ef5..68ae7b73 100644
--- a/depends/classparser/CMakeLists.txt
+++ b/depends/classparser/CMakeLists.txt
@@ -2,6 +2,13 @@ project(classparser)
set(CMAKE_AUTOMOC ON)
+######## Check endianness ########
+include(TestBigEndian)
+test_big_endian(BIGENDIAN)
+if(${BIGENDIAN})
+ add_definitions(-DMULTIMC_BIG_ENDIAN)
+endif(${BIGENDIAN})
+
# Find Qt
find_package(Qt5Core REQUIRED)