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.
This commit is contained in:
Mehdi Sabwat 2021-06-01 22:39:27 +02:00
parent b6b8d28b3a
commit 99c28c960c
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ endif()
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Big endian test: # Big endian test:
if (!EMSCRIPTEN) if (NOT EMSCRIPTEN)
include (${CMAKE_ROOT}/Modules/TestBigEndian.cmake) include (${CMAKE_ROOT}/Modules/TestBigEndian.cmake)
TEST_BIG_ENDIAN(OPJ_BIG_ENDIAN) TEST_BIG_ENDIAN(OPJ_BIG_ENDIAN)
endif() endif()