Skip to content

Commit

Permalink
Remove an unnecessary path and simplify linking commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
pvc1989 committed Sep 13, 2020
1 parent 9ac4e27 commit 521a2c3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions programs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
# These programs use internal metis data structures.
include_directories(../libmetis)
link_directories(/home/karypis/local/lib)
link_libraries(metis)
# Build program.
add_executable(gpmetis gpmetis.c cmdline_gpmetis.c io.c stat.c)
add_executable(ndmetis ndmetis.c cmdline_ndmetis.c io.c smbfactor.c)
add_executable(mpmetis mpmetis.c cmdline_mpmetis.c io.c stat.c)
add_executable(m2gmetis m2gmetis.c cmdline_m2gmetis.c io.c)
add_executable(graphchk graphchk.c io.c)
add_executable(cmpfillin cmpfillin.c io.c smbfactor.c)
foreach(prog gpmetis ndmetis mpmetis m2gmetis graphchk cmpfillin)
target_link_libraries(${prog} metis)
# target_link_libraries(${prog} metis profiler)
endforeach(prog)

if(METIS_INSTALL)
install(TARGETS gpmetis ndmetis mpmetis m2gmetis graphchk cmpfillin
Expand Down

0 comments on commit 521a2c3

Please sign in to comment.