Skip to content

Commit 5ed41ee

Browse files
committed
avoiding copying CMakeFiles under build/FORTRAN to the include directory
1 parent 4a5d81e commit 5ed41ee

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

FORTRAN/CMakeLists.txt

100644100755
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,9 @@ if (BUILD_STATIC_LIBS)
5555
)
5656
endif()
5757

58-
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/
59-
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
60-
FILES_MATCHING PATTERN *.mod
61-
)
62-
install(FILES superlu_dist_config.fh
58+
install(FILES superlu_dist_config.fh
59+
${CMAKE_CURRENT_BINARY_DIR}/superlu_mod.mod
60+
${CMAKE_CURRENT_BINARY_DIR}/superlupara_mod.mod
6361
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
6462
)
6563

0 commit comments

Comments
 (0)