From 814445cc4e0654c3bac18dda83ae511c191cc46b Mon Sep 17 00:00:00 2001 From: Joshua Kammeraad Date: Sat, 30 May 2026 00:17:30 -0700 Subject: [PATCH] Drop consumer-side libcint pkg-config probe from Config.cmake.in The pkg_check_modules(LIBCINT REQUIRED libcint>=5.3.0) call ran at consumer find_package(SlaterGPU) time but had no functional value: its LIBCINT_* output variables were never appended to SlaterGPU_LIBRARIES or otherwise wired up. libcint is already carried as a transitive dep via IMPORTED_LINK_DEPENDENT_LIBRARIES_RELEASE -> SlaterGPU::cint, auto-promoted from the find_library path during install(EXPORT). The probe also broke downstream pixi builds where libcint isn't on pkg-config's search path, surfacing as the configure-time error "No package 'libcint' found". This was previously masked in ZEST and XCtera by a workaround that bypassed CONFIG mode entirely. Refs #88. Co-Authored-By: Claude Opus 4.7 --- SlaterGPUConfig.cmake.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/SlaterGPUConfig.cmake.in b/SlaterGPUConfig.cmake.in index bcbc098..9ed9cc8 100644 --- a/SlaterGPUConfig.cmake.in +++ b/SlaterGPUConfig.cmake.in @@ -21,8 +21,6 @@ include("${CMAKE_CURRENT_LIST_DIR}/SlaterGPUTargets.cmake") set(SlaterGPU_LIBRARIES SlaterGPU::SlaterGPU SlaterGPU::io) if(@DO_GTO@) list(APPEND SlaterGPU_LIBRARIES SlaterGPU::cintw) - find_dependency(PkgConfig REQUIRED) - pkg_check_modules(LIBCINT REQUIRED libcint>=5.3.0) endif() set(SlaterGPU_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_INCLUDEDIR@")