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

BUG: mantis-1336

parent 6ff4f80f
Branches
Tags
No related merge requests found
...@@ -227,14 +227,18 @@ function(func_install_otb_support_files) ...@@ -227,14 +227,18 @@ function(func_install_otb_support_files)
set(PKG_SHARE_SOURCE_DIR ${DEPENDENCIES_INSTALL_DIR}/share) set(PKG_SHARE_SOURCE_DIR ${DEPENDENCIES_INSTALL_DIR}/share)
#For Unixes we make them in the *pkgsetup.in #For Unixes we make them in the *pkgsetup.in
##################### install environment source ########################## ##################### install environment setup file ##########################
if(WIN32) if(WIN32)
foreach(ENV_SOURCE_FILE install(
"${PACKAGE_SUPPORT_FILES_DIR}/otbenv.cmd" FILES ${PACKAGE_SUPPORT_FILES_DIR}/otbenv.cmd
"${PACKAGE_SUPPORT_FILES_DIR}/otbenv.profile") DESTINATION ${PKG_STAGE_DIR}
if(EXISTS ${ENV_SOURCE_FILE}) )
install(FILES ${ENV_SOURCE_FILE} DESTINATION ${PKG_STAGE_DIR})
endif() install(
FILES ${PACKAGE_SUPPORT_FILES_DIR}/otbenv.profile
DESTINATION ${PKG_STAGE_DIR}
RENAME otbenv.sh)
)
endforeach() endforeach()
#we need startup files for mapla monteverdi in the root directory #we need startup files for mapla monteverdi in the root directory
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment