-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
target_sources(strumpack | ||
PRIVATE ${CMAKE_CURRENT_LIST_DIR}/strumpack.f90) | ||
|
||
install(DIRECTORY ${CMAKE_BINARY_DIR}/ | ||
DESTINATION include FILES_MATCHING PATTERN *.mod) | ||
# This is really a problem. Using a wildcard to install the mod makes | ||
# CMake install a bunch of empty directories, which leads to an | ||
# infinite recursion when building in the src tree, which we do for | ||
# testing. | ||
# install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} | ||
# DESTINATION include FILES #_MATCHING PATTERN | ||
# strumpack.mod STRUMPACK.mod STRUMPACK.MOD) | ||
|
||
install(FILES | ||
${CMAKE_BINARY_DIR}/strumpack.mod | ||
${CMAKE_BINARY_DIR}/STRUMPACK.mod | ||
${CMAKE_BINARY_DIR}/STRUMPACK.MOD | ||
DESTINATION include OPTIONAL) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
target_sources(strumpack | ||
PRIVATE ${CMAKE_CURRENT_LIST_DIR}/strumpack_dense.f90) | ||
|
||
install(DIRECTORY ${CMAKE_BINARY_DIR}/ | ||
DESTINATION include FILES_MATCHING PATTERN *.mod) | ||
# This is really a problem. Using a wildcard to install the mod makes | ||
# CMake install a bunch of empty directories, which leads to an | ||
# infinite recursion when building in the src tree, which we do for | ||
# testing. | ||
# install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} | ||
# DESTINATION include FILES #_MATCHING PATTERN | ||
# strumpack_dense.mod STRUMPACK_DENSE.mod STRUMPACK_DENSE.MOD) | ||
|
||
install(FILES | ||
${CMAKE_BINARY_DIR}/strumpack_dense.mod | ||
${CMAKE_BINARY_DIR}/STRUMPACK_DENSE.mod | ||
${CMAKE_BINARY_DIR}/STRUMPACK_DENSE.MOD | ||
DESTINATION include OPTIONAL) |