Skip to content
Snippets Groups Projects
Commit f2e2ea82 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

BUG: find_package(OTB) is needed when build as standalone or otherwise

parent 1a0e7419
Branches
Tags
No related merge requests found
......@@ -100,6 +100,11 @@ else()
message(FATAL_ERROR "BUILD_EXAMPLES requires ${_activationOption} to be ON")
endif()
endforeach()
find_package(OTB REQUIRED)
include(${OTB_USE_FILE})
message(STATUS "Found OTB: ${OTB_USE_FILE}")
endif()
set(OTB_TEST_DRIVER otbTestDriver)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment