summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-05-07 11:22:13 +0200
committerGitHub <noreply@github.com>2021-05-07 11:22:13 +0200
commitb6b8d28b3a85b74ff5415565cff2c20c019ca3c5 (patch)
tree628109504f2381fefc576c6cafe23f76dce482f9
parent8aaafe69958f3528db4e59b50cbc49494262c7b5 (diff)
parent238e849746e35232134533d826fdd2420d2e0274 (diff)
Merge pull request #1345 from msabwat/emscripten
emscripten: disable big endian test
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 299f74c3..28fc5fe1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -162,8 +162,10 @@ endif()
#-----------------------------------------------------------------------------
# Big endian test:
+if (!EMSCRIPTEN)
include (${CMAKE_ROOT}/Modules/TestBigEndian.cmake)
TEST_BIG_ENDIAN(OPJ_BIG_ENDIAN)
+endif()
#-----------------------------------------------------------------------------
# Setup file for setting custom ctest vars