diff --git a/catch/packaging/CMakeLists.txt b/catch/packaging/CMakeLists.txt index 638a0f6c76..019e2cd02c 100644 --- a/catch/packaging/CMakeLists.txt +++ b/catch/packaging/CMakeLists.txt @@ -63,8 +63,7 @@ endif() if(NOT WIN32) install(DIRECTORY ${PROJECT_BINARY_DIR}/${CATCH_BUILD_DIR} - DESTINATION ${CMAKE_INSTALL_DATADIR}/hip - USE_SOURCE_PERMISSIONS) + DESTINATION ${CMAKE_INSTALL_DATADIR}/hip) install(FILES ${PROJECT_BINARY_DIR}/CTestTestfile.cmake DESTINATION ${CMAKE_INSTALL_DATADIR}/hip) set(CPACK_GENERATOR "TGZ;DEB;RPM" CACHE STRING "Linux package types for catch tests") diff --git a/samples/packaging/CMakeLists.txt b/samples/packaging/CMakeLists.txt index 8483f88c58..8d931faa17 100644 --- a/samples/packaging/CMakeLists.txt +++ b/samples/packaging/CMakeLists.txt @@ -66,8 +66,7 @@ endif() if(NOT WIN32) install(DIRECTORY ${SAMPLES_SRC} - DESTINATION ${CMAKE_INSTALL_DATADIR}/hip - USE_SOURCE_PERMISSIONS) + DESTINATION ${CMAKE_INSTALL_DATADIR}/hip) set(CPACK_GENERATOR "TGZ;DEB;RPM" CACHE STRING "Linux package types for hip samples") set(CPACK_BINARY_DEB "ON")