Merge pull request #1354 from msabwat/emscripten

fix #1345: don't remove big endian test for other platforms
This commit is contained in:
Even Rouault 2021-06-01 22:59:11 +02:00 committed by GitHub
commit adb888920e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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()