@@ -440,18 +440,6 @@ if ( DEMO )
440
440
target_link_libraries ( umfpack_zl_demo PUBLIC UMFPACK_static )
441
441
endif ( )
442
442
target_link_libraries ( umfpack_simple PUBLIC SuiteSparse::SuiteSparseConfig )
443
- if ( NOT WIN32 )
444
- # This is only needed because the demos might be linked before those
445
- # libraries are installed. Would it be better to set the rpath instead?
446
- target_link_libraries ( umfpack_di_demo PUBLIC
447
- SuiteSparse::COLAMD SuiteSparse::CAMD SuiteSparse::CCOLAMD )
448
- target_link_libraries ( umfpack_dl_demo PUBLIC
449
- SuiteSparse::COLAMD SuiteSparse::CAMD SuiteSparse::CCOLAMD )
450
- target_link_libraries ( umfpack_zi_demo PUBLIC
451
- SuiteSparse::COLAMD SuiteSparse::CAMD SuiteSparse::CCOLAMD )
452
- target_link_libraries ( umfpack_zl_demo PUBLIC
453
- SuiteSparse::COLAMD SuiteSparse::CAMD SuiteSparse::CCOLAMD )
454
- endif ( )
455
443
if ( NOT NFORTRAN )
456
444
# Fortran demos
457
445
if ( BUILD_SHARED_LIBS )
@@ -468,19 +456,6 @@ if ( DEMO )
468
456
target_link_libraries ( umf4zhb64 PUBLIC UMFPACK_static )
469
457
endif ( )
470
458
target_link_libraries ( umf4 PUBLIC SuiteSparse::AMD )
471
- if ( NOT WIN32 )
472
- # This is only needed because the demos might be linked before
473
- # those libraries are installed. Would it be better to set the
474
- # rpath instead?
475
- target_link_libraries ( umf4hb PUBLIC
476
- SuiteSparse::COLAMD SuiteSparse::CAMD SuiteSparse::CCOLAMD )
477
- target_link_libraries ( umf4zhb PUBLIC
478
- SuiteSparse::COLAMD SuiteSparse::CAMD SuiteSparse::CCOLAMD )
479
- target_link_libraries ( umf4hb64 PUBLIC
480
- SuiteSparse::COLAMD SuiteSparse::CAMD SuiteSparse::CCOLAMD )
481
- target_link_libraries ( umf4zhb64 PUBLIC
482
- SuiteSparse::COLAMD SuiteSparse::CAMD SuiteSparse::CCOLAMD )
483
- endif ( )
484
459
endif ( )
485
460
486
461
else ( )
0 commit comments