Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use CMake USE_SOURCE_PERMISSIONS to install the header files #9778

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions bundled/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ IF(FEATURE_BOOST_BUNDLED_CONFIGURED)
INSTALL(DIRECTORY ${BOOST_FOLDER}/include/boost
DESTINATION ${DEAL_II_INCLUDE_RELDIR}/deal.II/bundled
COMPONENT library
USE_SOURCE_PERMISSIONS
)

ADD_SUBDIRECTORY(${BOOST_FOLDER}/libs/serialization/src)
Expand All @@ -41,6 +42,7 @@ IF(FEATURE_THREADS_BUNDLED_CONFIGURED)
INSTALL(DIRECTORY ${TBB_FOLDER}/include/tbb
DESTINATION ${DEAL_II_INCLUDE_RELDIR}/deal.II/bundled
COMPONENT library
USE_SOURCE_PERMISSIONS
FILES_MATCHING PATTERN "*.h"
)

Expand All @@ -57,6 +59,7 @@ IF(FEATURE_UMFPACK_BUNDLED_CONFIGURED)
${UMFPACK_FOLDER}/AMD/Include/
DESTINATION ${DEAL_II_INCLUDE_RELDIR}/deal.II/bundled
COMPONENT library
USE_SOURCE_PERMISSIONS
FILES_MATCHING PATTERN "*.h"
)
ENDIF()
Expand Down
1 change: 1 addition & 0 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ IF(DEAL_II_COMPONENT_EXAMPLES)
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/
DESTINATION ${DEAL_II_EXAMPLES_RELDIR}
COMPONENT examples
USE_SOURCE_PERMISSIONS
FILES_MATCHING
#
# Exclude folder structures: doc, doxygen, CMakeFiles,...
Expand Down
3 changes: 3 additions & 0 deletions include/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,15 @@ CONFIGURE_FILE(
INSTALL(DIRECTORY deal.II
DESTINATION ${DEAL_II_INCLUDE_RELDIR}
COMPONENT library
USE_SOURCE_PERMISSIONS
FILES_MATCHING PATTERN "*.h"
)

IF(DEAL_II_WITH_CUDA)
INSTALL(DIRECTORY deal.II
DESTINATION ${DEAL_II_INCLUDE_RELDIR}
COMPONENT library
USE_SOURCE_PERMISSIONS
FILES_MATCHING PATTERN "*.cuh"
)
ENDIF()
Expand All @@ -48,6 +50,7 @@ ENDIF()
INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/deal.II
DESTINATION ${DEAL_II_INCLUDE_RELDIR}
COMPONENT library
USE_SOURCE_PERMISSIONS
FILES_MATCHING PATTERN "*.h"
)