fixed: auto_ptr -> unique_ptr
[opensg.git] / Support / gdal / CMakeLists.txt
blob3a9afcc81689144b4f55976ac2cb088659e7b66d
1 CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
3 CMAKE_POLICY(SET CMP0011 OLD)
5 IF(OSGGdalSrcDir)
7   MESSAGE(STATUS "adding gdal from : ${OSGGdalSrcDir}")
9   IF(OSGGdalSrcDir MATCHES "1.5.4$")
10     INCLUDE("CMakeLists_154.txt")
11   ELSE()
12     INCLUDE("CMakeLists_current.txt")
13   ENDIF()
15 ELSE(OSGGdalSrcDir)
16   MESSAGE(STATUS "ignoring gdal")
18   SET(OSGGdalSrcDir "" CACHE PATH "")
19 ENDIF(OSGGdalSrcDir)