Skip to content

Commit

Permalink
fix #1345: don't remove big endian test for other platforms
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
msabwat committed Jun 1, 2021
1 parent b6b8d28 commit 99c28c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 99c28c9

Please sign in to comment.