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

COMP: relative path to OTB/CMake/ should not be used when building examples asstandalone

parent 58fd9491
No related branches found
No related tags found
No related merge requests found
......@@ -15,8 +15,6 @@ if(PROJECT_NAME STREQUAL "OTBExamples")
include(CTest)
endif()
include(${CMAKE_CURRENT_SOURCE_DIR}/../CMake/OTBManageLargeInputPaths.cmake)
# dashboard build. Why do I need to see the deprecated warnings on dashboard!
# It just fades the actual warnings and most importantly very annoying.
if(NOT "$ENV{DASHBOARD_TEST_FROM_CTEST}" STREQUAL "")
......@@ -93,6 +91,10 @@ if(PROJECT_NAME STREQUAL "OTBExamples")
endfunction()
########################## end copied from OTB/CMakeLists.txt ##########################
else()
#Examples that require large input cannot be enabled when building as standalone
include(${CMAKE_CURRENT_SOURCE_DIR}/../CMake/OTBManageLargeInputPaths.cmake)
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment