Skip to content

Commit

Permalink
fix uclouvain#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 uclouvain#1345 actually disabled the test for all platforms.
  • Loading branch information
msabwat committed Jun 10, 2021
1 parent b9416f2 commit e3a5c47
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 e3a5c47

Please sign in to comment.