Commit 8a83de07 authored by Guillaume Pasero's avatar Guillaume Pasero

DOC: add VERSION file to standalone binaries

parent ac17445c
......@@ -373,6 +373,14 @@ function(func_install_support_files)
install(FILES ${PKG_SHARE_SOURCE_DIR}/copyright/LICENSE DESTINATION ${PKG_STAGE_DIR})
endif()
####################### Install VERSION ##########################
file(GLOB OTB_VERSION_FILES ${PKG_SHARE_SOURCE_DIR}/doc/OTB-*/VERSION)
if(OTB_VERSION_FILES)
list(SORT OTB_VERSION_FILES)
list(GET OTB_VERSION_FILES -1 OTB_LATEST_VERSION_FILE)
install(FILES ${OTB_LATEST_VERSION_FILE} DESTINATION ${PKG_STAGE_DIR})
endif()
endfunction()
function(func_install_otb_support_files)
......@@ -1054,4 +1062,4 @@ set(ALLOWED_SYSTEM_DLLS
libgobject-2.0.so.0
libXrender.so.1
libfontconfig.so.1
)
\ No newline at end of file
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment