diff --git a/BTF/CMakeLists.txt b/BTF/CMakeLists.txt index fdb2ebf76..c73b273a4 100644 --- a/BTF/CMakeLists.txt +++ b/BTF/CMakeLists.txt @@ -113,15 +113,11 @@ endif ( ) #------------------------------------------------------------------------------- # SuiteSparseConfig: -target_link_libraries ( BTF PRIVATE SuiteSparse::SuiteSparseConfig ) target_include_directories ( BTF PUBLIC "$" ) if ( NOT NSTATIC ) - if ( TARGET SuiteSparse::SuiteSparseConfig_static ) - target_link_libraries ( BTF_static PUBLIC SuiteSparse::SuiteSparseConfig_static ) - else ( ) - target_link_libraries ( BTF_static PUBLIC SuiteSparse::SuiteSparseConfig ) - endif ( ) + target_include_directories ( BTF_static PUBLIC + "$" ) endif ( ) # libm: diff --git a/BTF/Config/BTF.pc.in b/BTF/Config/BTF.pc.in index 104334f04..27d5cec87 100644 --- a/BTF/Config/BTF.pc.in +++ b/BTF/Config/BTF.pc.in @@ -11,7 +11,6 @@ Name: BTF URL: https://github.com/DrTimothyAldenDavis/SuiteSparse Description: Software package for permuting a matrix into block upper triangular form in SuiteSparse Version: @BTF_VERSION_MAJOR@.@BTF_VERSION_MINOR@.@BTF_VERSION_SUB@ -Requires.private: SuiteSparse_config Libs: -L${libdir} -lbtf Libs.private: @BTF_STATIC_LIBS@ Cflags: -I${includedir}