Last change
on this file since 824 was
775,
checked in by djay, 9 years ago
|
Add GDAL 2 support to the cgal services. Updadte otb support to build against OTB 5.4.
|
-
Property svn:keywords set to
Id
|
File size:
393 bytes
|
Rev | Line | |
---|
[550] | 1 | PROJECT(otb2zcfg) |
---|
| 2 | |
---|
| 3 | cmake_minimum_required(VERSION 2.6) |
---|
| 4 | |
---|
| 5 | FIND_PACKAGE(OTB) |
---|
| 6 | IF(OTB_FOUND) |
---|
| 7 | INCLUDE(${OTB_USE_FILE}) |
---|
| 8 | ELSE(OTB_FOUND) |
---|
| 9 | MESSAGE(FATAL_ERROR |
---|
| 10 | "Cannot build OTB project without OTB. Please set OTB_DIR.") |
---|
| 11 | ENDIF(OTB_FOUND) |
---|
| 12 | |
---|
| 13 | ADD_EXECUTABLE(otb2zcfg otb2zcfg.cxx ) |
---|
[775] | 14 | TARGET_LINK_LIBRARIES(otb2zcfg OTBCommon OTBApplicationEngine OTBImageIO ${ITK_LIBRARIES}) |
---|
Note: See
TracBrowser
for help on using the repository browser.