⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 findgeotiff.cmake

📁 DTMK软件开发包,此为开源软件,是一款很好的医学图像开发资源.
💻 CMAKE
字号:
#
# Find a GEOTIFF library
#
# This file is used to manage using either a natively provided GEOTIFF library or the one in v3p if provided.
#
#
# As per the standard scheme the following definitions are used
# GEOTIFF_INCLUDE_DIR - where to find geotiff.h
# GEOTIFF_LIBRARIES   - the set of libraries to include to use GEOTIFF.
# GEOTIFF_FOUND       - TRUE, if available somewhere on the system.

# Additionally
# VXL_USING_NATIVE_GEOTIFF  - True if we are using a GEOTIFF library provided outside vxl (or v3p)


# If this FORCE variable is unset or is FALSE, try to find a native library.
IF( VXL_FORCE_V3P_GEOTIFF )
ELSE( VXL_FORCE_V3P_GEOTIFF )
  INCLUDE( ${MODULE_PATH}/NewCMake/FindGEOTIFF.cmake )
ENDIF( VXL_FORCE_V3P_GEOTIFF )

  
IF(GEOTIFF_FOUND)

  SET(VXL_USING_NATIVE_GEOTIFF "YES")

ELSE(GEOTIFF_FOUND)

  #
  # At some point, in a "release" version, it is possible that someone
  # will not have the v3p geotiff library, so make sure the headers
  # exist.
  #
  
  IF(EXISTS ${vxl_SOURCE_DIR}/v3p/geotiff/geotiff.h)

    SET( GEOTIFF_FOUND "YES" )
    SET( GEOTIFF_INCLUDE_DIR ${vxl_SOURCE_DIR}/v3p/geotiff)  
    SET( GEOTIFF_INSTALL_INCLUDE_DIR ${CMAKE_INSTALL_DIR}/include/vxl/v3p/geotiff)
    SET( GEOTIFF_LIBRARIES geotiff )
  
  ENDIF(EXISTS ${vxl_SOURCE_DIR}/v3p/geotiff/geotiff.h)
  
ENDIF(GEOTIFF_FOUND)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -