Commit 6740352b authored by Jonathan Perkin's avatar Jonathan Perkin

Try to fix the debug permissions stuff.

parent d2b8d248
......@@ -174,7 +174,8 @@ FUNCTION(INSTALL_DEBUG_TARGET target)
""
${ARGN}
)
GET_TARGET_PROPERTY(target_type ${target} TYPE)
GET_TARGET_PROPERTY(target_type ${target} TYPE)
GET_TARGET_PROPERTY(target_permissions ${target} PERMISSIONS)
IF(ARG_RENAME)
SET(RENAME_PARAM RENAME ${ARG_RENAME}${CMAKE_${target_type}_SUFFIX})
ELSE()
......@@ -193,6 +194,7 @@ FUNCTION(INSTALL_DEBUG_TARGET target)
INSTALL(FILES ${debug_target_location}
DESTINATION ${ARG_DESTINATION}
${RENAME_PARAM}
PERMISSIONS ${target_permissions}
CONFIGURATIONS Release RelWithDebInfo
OPTIONAL)
......
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