From 238e849746e35232134533d826fdd2420d2e0274 Mon Sep 17 00:00:00 2001 From: Mehdi Sabwat Date: Mon, 26 Apr 2021 15:37:44 +0200 Subject: [PATCH] emscripten: disable big endian test This test should not run on the emscripten platform because of : https://github.com/emscripten-core/emscripten/blob/dff33368427fba16745c8ce52f11484a67b2855d/cmake/Modules/TestBigEndian.cmake#L5 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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