diff options
| author | Mehdi Sabwat <mehdisabwat@gmail.com> | 2021-04-26 15:37:44 +0200 |
|---|---|---|
| committer | Mehdi Sabwat <mehdisabwat@gmail.com> | 2021-05-07 00:03:48 +0200 |
| commit | 238e849746e35232134533d826fdd2420d2e0274 (patch) | |
| tree | 628109504f2381fefc576c6cafe23f76dce482f9 | |
| parent | 8aaafe69958f3528db4e59b50cbc49494262c7b5 (diff) | |
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
| -rw-r--r-- | CMakeLists.txt | 2 |
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 |
