Skip to content
Snippets Groups Projects
Commit b358cdd1 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: wrong install directory for application built outside OTB

parent 6975c8c8
No related branches found
No related tags found
Loading
......@@ -76,6 +76,9 @@ else()
if(NOT OTB_INSTALL_PACKAGE_DIR)
set(OTB_INSTALL_PACKAGE_DIR "lib/cmake/OTB-${OTB_VERSION_MAJOR}.${OTB_VERSION_MINOR}")
endif()
if(NOT OTB_INSTALL_APP_DIR)
set(OTB_INSTALL_APP_DIR lib/otb/applications)
endif()
# Use OTB's flags.
set(CMAKE_C_FLAGS "${OTB_REQUIRED_C_FLAGS} ${CMAKE_C_FLAGS}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment