mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-15 16:29:03 +08:00
32c5722104
* [cfitsio] Update to 3.49 and fix dependency zlib * export unofficial cmake targets * [cfitsio] Fix file paths, export cmake targets * [cfitsio] Required cmake_policy CMP0012 * [ccfits] Fix dependency cfitsio * [cfitsio] Fixup pkgconfig * [healpix] Fix dependency cfitsio * [cfitsio] fix homepage and patches Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
14 lines
574 B
Diff
14 lines
574 B
Diff
diff --git a/src/cxx/configure.ac b/src/cxx/configure.ac
|
|
index 63f05d7..e284f0d 100644
|
|
--- a/src/cxx/configure.ac
|
|
+++ b/src/cxx/configure.ac
|
|
@@ -175,7 +175,7 @@ CXXCFLAGS_NO_C="$CXXCFLAGS $CPPFLAGS"
|
|
LDCCFLAGS="$LDFLAGS $CCFLAGS"
|
|
LDCXXFLAGS="$LDFLAGS $CXXCFLAGS"
|
|
|
|
-AC_CHECK_LIB([cfitsio],[ffgnrwll],,AC_MSG_ERROR([could not find the cfitsio library]),[-lm])
|
|
+AC_CHECK_LIB([cfitsio -lz],[ffgnrwll],,AC_MSG_ERROR([could not find the cfitsio library]),[-lm -lz])
|
|
AC_CHECK_HEADERS([fitsio.h],,AC_MSG_ERROR([could not find the cfitsio header file]),)
|
|
|
|
AC_SUBST(SILENT_RULE)
|