Commit 72f2fcf1 authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

BUG: call otb_module_impl in all cases

parent 27ab7578
cmake_minimum_required(VERSION 2.8.9)
project(ExternalTemplate)
#set(ExternalTemplate_LIBRARIES ExternalTemplate)
set(ExternalTemplate_LIBRARIES ExternalTemplate)
if(NOT OTB_SOURCE_DIR)
find_package(OTB REQUIRED)
list(APPEND CMAKE_MODULE_PATH ${OTB_CMAKE_DIR})
include(OTBModuleExternal)
else()
otb_module_impl()
endif()
find_package(OTB REQUIRED)
list(APPEND CMAKE_MODULE_PATH ${OTB_CMAKE_DIR})
include(OTBModuleExternal)
endif()
otb_module_impl()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment