diff options
| author | Mehdi Sabwat <mehdi@videolabs.io> | 2021-06-01 22:39:27 +0200 |
|---|---|---|
| committer | Mehdi Sabwat <mehdi@videolabs.io> | 2021-06-01 22:39:27 +0200 |
| commit | 99c28c960c18bfc0a4da5ec24adcedff1f1b143c (patch) | |
| tree | 8180c61e17ee2aa6c2a85f177e559e0e5e981c9a | |
| parent | b6b8d28b3a85b74ff5415565cff2c20c019ca3c5 (diff) | |
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.
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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() |
