From 3371fdfc8e32a570d5a3d1e2a8210db542dca878 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 14 Oct 2023 14:48:34 +0200 Subject: [PATCH] configure should still install cmake files --- Makefile.am | 4 ++++ configure.ac | 2 ++ 2 files changed, 6 insertions(+) diff --git a/Makefile.am b/Makefile.am index 124c7914..9ee2f950 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,5 +29,9 @@ detect_arpack_bug.m4 CMakeLists.txt pkgconfig_DATA = arpack@LIBSUFFIX@@ITF64SUFFIX@.pc parpack@LIBSUFFIX@@ITF64SUFFIX@.pc +cmakedir = $(libdir)/cmake/arpack-ng +cmake_DATA = cmake/arpackng-config-version.cmake \ + cmake/arpackng-config.cmake + # Due to the LIBSUFFIX/ITF64SUFFIX, configure doesn't automatically clean this file: DISTCLEANFILES = arpack@LIBSUFFIX@@ITF64SUFFIX@.pc parpack@LIBSUFFIX@@ITF64SUFFIX@.pc diff --git a/configure.ac b/configure.ac index 6afb3561..7a266d80 100644 --- a/configure.ac +++ b/configure.ac @@ -359,6 +359,8 @@ AC_CONFIG_FILES([ AC_CONFIG_FILES([ arpackdef.h arpackicb.h + cmake/arpackng-config-version.cmake + cmake/arpackng-config.cmake Makefile ICB/Makefile UTIL/Makefile