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

fix execute permission on configure scirpt using cmake file copy

parent 597db21d
No related branches found
No related tags found
No related merge requests found
......@@ -40,8 +40,14 @@ macro(superbuild_package)
set(PKG_OUTPUT_DIR "${PACKAGE_INSTALLDIR}/${PACKAGE_OUTDIR}")
configure_file(${SETUP_SCRIPT_SRC}
${PACKAGE_INSTALLDIR}/${PACKAGE_OUTDIR}/pkgsetup @ONLY)
${CMAKE_BINARY_DIR}/pkgsetup @ONLY)
file(COPY ${CMAKE_BINARY_DIR}/pkgsetup
DESTINATION ${PACKAGE_OUTDIR}
FILE_PERMISSIONS
OWNER_READ OWNER_WRITE OWNER_EXECUTE
GROUP_READ GROUP_EXECUTE
WORLD_READ WORLD_EXECUTE)
endmacro(superbuild_package)
......
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