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

PKG: install VERSION also for windows

parent 087d5268
No related branches found
No related tags found
No related merge requests found
......@@ -167,7 +167,7 @@ else() #unixes
set(Monteverdi_SOURCE_DIR "${SUPERBUILD_BINARY_DIR}/MVD/src/MVD")
set(Monteverdi_BINARY_DIR "${SUPERBUILD_BINARY_DIR}/MVD/build")
set(MONTEVERDI_INSTALL_DIR "${SUPERBUILD_INSTALL_DIR}")
set(OTB_INSTALL_DIR "${SUPERBUILD_BINARY_DIR}/OTB/build")
set(OTB_INSTALL_DIR "${SUPERBUILD_INSTALL_DIR}")
set(DEPENDENCIES_INSTALL_DIR "${SUPERBUILD_INSTALL_DIR}")
set(QT_PLUGINS_DIR "${SUPERBUILD_INSTALL_DIR}/plugins")
set(QT_TRANSLATIONS_DIR "${SUPERBUILD_INSTALL_DIR}/translations")
......
......@@ -374,7 +374,7 @@ function(func_install_support_files)
endif()
####################### Install VERSION ##########################
file(GLOB OTB_VERSION_FILES ${PKG_SHARE_SOURCE_DIR}/doc/OTB-*/VERSION)
file(GLOB OTB_VERSION_FILES ${OTB_INSTALL_DIR}/share/doc/OTB-*/VERSION)
if(OTB_VERSION_FILES)
list(SORT OTB_VERSION_FILES)
list(GET OTB_VERSION_FILES -1 OTB_LATEST_VERSION_FILE)
......
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