arpack-ng: fix corrupted parpack_cmake.patch
This commit is contained in:
parent
63e45c586c
commit
c8fc56686c
@ -3,15 +3,16 @@ index 607d221..345b7fc 100644
|
|||||||
--- a/CMakeLists.txt
|
--- a/CMakeLists.txt
|
||||||
+++ b/CMakeLists.txt
|
+++ b/CMakeLists.txt
|
||||||
@@ -113,11 +113,12 @@ set_target_properties(arpack PROPERTIES OUTPUT_NAME arpack${LIBSUFFIX})
|
@@ -113,11 +113,12 @@ set_target_properties(arpack PROPERTIES OUTPUT_NAME arpack${LIBSUFFIX})
|
||||||
|
|
||||||
if (MPI)
|
if (MPI)
|
||||||
# add_library(parpack SHARED
|
# add_library(parpack SHARED
|
||||||
- add_library(parpack
|
- add_library(parpack
|
||||||
+ add_library(parpack
|
+ add_library(parpack
|
||||||
${parpacksrc_STAT_SRCS}
|
${parpacksrc_STAT_SRCS}
|
||||||
${parpackutil_STAT_SRCS})
|
${parpackutil_STAT_SRCS})
|
||||||
|
|
||||||
target_link_libraries(parpack ${MPI_Fortran_LIBRARIES})
|
target_link_libraries(parpack ${MPI_Fortran_LIBRARIES})
|
||||||
+ target_link_libraries(parpack arpack)
|
+ target_link_libraries(parpack arpack)
|
||||||
set_target_properties(parpack PROPERTIES OUTPUT_NAME parpack${LIBSUFFIX})
|
set_target_properties(parpack PROPERTIES OUTPUT_NAME parpack${LIBSUFFIX})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user