File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -77,13 +77,16 @@ include(FindPkgConfig)
77
77
if (NOT TARGET BML::bml )
78
78
find_package (BML CONFIG QUIET )
79
79
endif ()
80
+ #append libraries twice to resolve issues with libraries list order
80
81
if (TARGET BML::bml )
81
82
message (STATUS "Found bml: BML::bml" )
82
83
list (APPEND LINK_LIBRARIES BML::bml )
84
+ list (APPEND LINK_LIBRARIES BML::bml )
83
85
else ()
84
86
pkg_check_modules (BML REQUIRED bml )
85
87
message (STATUS "Found bml: ${BML_LDFLAGS} " )
86
88
list (APPEND LINK_LIBRARIES ${BML_LDFLAGS} )
89
+ list (APPEND LINK_LIBRARIES ${BML_LDFLAGS} )
87
90
endif ()
88
91
89
92
set (PROGRESS_GRAPHLIB FALSE CACHE BOOL "Compile with externel graph libraries" )
@@ -149,6 +152,7 @@ else()
149
152
message (STATUS "Will not build with OpenMP" )
150
153
endif ()
151
154
155
+
152
156
set (PROGRESS_MPI FALSE CACHE BOOL "Compile with MPI support" )
153
157
if (PROGRESS_MPI )
154
158
message (STATUS "Will build with MPI" )
You can’t perform that action at this time.
0 commit comments