diff --git a/CMakeLists.txt b/CMakeLists.txt index 28fc5fe1..d343905b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()