| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- #-----------------------------------------------------------------------------
- #
- # OPENJPEGConfig.cmake - CMake configuration file for external projects.
- #
- # This file is configured by OPENJPEG and used by the UseOPENJPEG.cmake
- # module to load OPENJPEG's settings for an external project.
- # The OPENJPEG version number.
- set(OPENJPEG_MAJOR_VERSION "2")
- set(OPENJPEG_MINOR_VERSION "5")
- set(OPENJPEG_BUILD_VERSION "0")
- # The libraries.
- set(OPENJPEG_LIBRARIES "openjp2")
- # The CMake macros dir.
- set(OPENJPEG_CMAKE_DIR "lib/openjpeg-2.5")
- # The configuration options.
- set(OPENJPEG_BUILD_SHARED_LIBS "ON")
- # The "use" file.
- set(OPENJPEG_USE_FILE "")
- get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
- if(EXISTS ${SELF_DIR}/OpenJPEGTargets.cmake)
- # This is an install tree
- include(${SELF_DIR}/OpenJPEGTargets.cmake)
- # We find a relative path from the PKG directory to header files.
- set(PKG_DIR "C:/Users/ENFI/anaconda3/envs/gaussian_splatting/Library/lib/openjpeg-2.5")
- set(INC_DIR "C:/Users/ENFI/anaconda3/envs/gaussian_splatting/Library/include/openjpeg-2.5")
- file(RELATIVE_PATH PKG_TO_INC_RPATH "${PKG_DIR}" "${INC_DIR}")
- get_filename_component(OPENJPEG_INCLUDE_DIRS "${SELF_DIR}/${PKG_TO_INC_RPATH}" REALPATH)
- else()
- if(EXISTS ${SELF_DIR}/OpenJPEGExports.cmake)
- # This is a build tree
- set( OPENJPEG_INCLUDE_DIRS )
- include(${SELF_DIR}/OpenJPEGExports.cmake)
- else()
- message(FATAL_ERROR "ooops")
- endif()
- endif()
- set(OPENJPEG_USE_FILE ${SELF_DIR}/UseOPENJPEG.cmake)
- # Backward compatible part:
- set(OPENJPEG_FOUND TRUE)
|