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
No related merge requests found
...@@ -76,6 +76,9 @@ else() ...@@ -76,6 +76,9 @@ else()
if(NOT OTB_INSTALL_PACKAGE_DIR) if(NOT OTB_INSTALL_PACKAGE_DIR)
set(OTB_INSTALL_PACKAGE_DIR "lib/cmake/OTB-${OTB_VERSION_MAJOR}.${OTB_VERSION_MINOR}") set(OTB_INSTALL_PACKAGE_DIR "lib/cmake/OTB-${OTB_VERSION_MAJOR}.${OTB_VERSION_MINOR}")
endif() endif()
if(NOT OTB_INSTALL_APP_DIR)
set(OTB_INSTALL_APP_DIR lib/otb/applications)
endif()
# Use OTB's flags. # Use OTB's flags.
set(CMAKE_C_FLAGS "${OTB_REQUIRED_C_FLAGS} ${CMAKE_C_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.
Finish editing this message first!
Please register or to comment