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:
parent
b6b8d28b3a
commit
99c28c960c
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue