Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
d7fe7605
Commit
d7fe7605
authored
Jan 19, 2017
by
Rashad Kanavath
Browse files
BUG: mantis-1336
parent
6ff4f80f
Changes
1
Hide whitespace changes
Inline
Side-by-side
SuperBuild/Packaging/InstallSupportFiles.cmake
View file @
d7fe7605
...
...
@@ -227,14 +227,18 @@ function(func_install_otb_support_files)
set
(
PKG_SHARE_SOURCE_DIR
${
DEPENDENCIES_INSTALL_DIR
}
/share
)
#For Unixes we make them in the *pkgsetup.in
##################### install environment s
ourc
e ##########################
##################### install environment s
etup fil
e ##########################
if
(
WIN32
)
foreach
(
ENV_SOURCE_FILE
"
${
PACKAGE_SUPPORT_FILES_DIR
}
/otbenv.cmd"
"
${
PACKAGE_SUPPORT_FILES_DIR
}
/otbenv.profile"
)
if
(
EXISTS
${
ENV_SOURCE_FILE
}
)
install
(
FILES
${
ENV_SOURCE_FILE
}
DESTINATION
${
PKG_STAGE_DIR
}
)
endif
()
install
(
FILES
${
PACKAGE_SUPPORT_FILES_DIR
}
/otbenv.cmd
DESTINATION
${
PKG_STAGE_DIR
}
)
install
(
FILES
${
PACKAGE_SUPPORT_FILES_DIR
}
/otbenv.profile
DESTINATION
${
PKG_STAGE_DIR
}
RENAME otbenv.sh
)
)
endforeach
()
#we need startup files for mapla monteverdi in the root directory
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment