From 99c28c960c18bfc0a4da5ec24adcedff1f1b143c Mon Sep 17 00:00:00 2001 From: Mehdi Sabwat Date: Tue, 1 Jun 2021 22:39:27 +0200 Subject: [PATCH] fix #1345: don't remove big endian test for other platforms thanks to @ePirat, it turns out that !EMSCRIPTEN does not evaluate to 1 on other platforms, so the the #1345 actually disabled the test for all platforms. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 28fc5fe1..d343905b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -162,7 +162,7 @@ endif() #----------------------------------------------------------------------------- # Big endian test: -if (!EMSCRIPTEN) +if (NOT EMSCRIPTEN) include (${CMAKE_ROOT}/Modules/TestBigEndian.cmake) TEST_BIG_ENDIAN(OPJ_BIG_ENDIAN) endif()