X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;h=bc048b2e2bfb63d0d3d21c27773c6f7c0ed088cb;hb=b8efd02c7feba78097eeb5bc4ef3781633382a47;hp=1af3a073352dd3af0980c759f0db1a77e1751f8b;hpb=aba0e602edd8947d149a3e69355719b1e63deae2;p=openjpeg.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 1af3a073..bc048b2e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,12 +39,13 @@ SET(OPENJPEG_LIBRARY_PROPERTIES SOVERSION "${OPENJPEG_VERSION_MAJOR}" ) - +# -------------------------------------------------------------------------- # Path to additional CMake modules SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMake ${CMAKE_MODULE_PATH}) +# -------------------------------------------------------------------------- # On Visual Studio 8 MS deprecated C. This removes all 1.276E1265 security # warnings IF(WIN32) @@ -108,6 +109,7 @@ ENDIF(NOT OPENJPEG_INSTALL_PACKAGE_DIR) #----------------------------------------------------------------------------- # Test for some required system information. +# For example this macro test the endianness (CMAKE_WORDS_BIGENDIAN) INCLUDE (${CMAKE_ROOT}/Modules/CMakeBackwardCompatibilityC.cmake) #-----------------------------------------------------------------------------