aboutsummaryrefslogtreecommitdiff
path: root/ports/ccfits/fix-dependency.patch
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-10-17 02:05:12 -0700
committerGitHub <noreply@github.com>2020-10-17 02:05:12 -0700
commit32c5722104fc28cd55d166a2c04e1d44906eec68 (patch)
tree7c688990b7f6b50f119ef88c746c3ac2e1897a0b /ports/ccfits/fix-dependency.patch
parent0b5b24698f08f6f4ca0ef984b2ae9d6a6ba0d7a6 (diff)
downloadvcpkg-32c5722104fc28cd55d166a2c04e1d44906eec68.tar.gz
vcpkg-32c5722104fc28cd55d166a2c04e1d44906eec68.zip
[cfitsio] Update to 3.49 and fix dependency zlib (#14064)
* [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>
Diffstat (limited to 'ports/ccfits/fix-dependency.patch')
-rw-r--r--ports/ccfits/fix-dependency.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/ports/ccfits/fix-dependency.patch b/ports/ccfits/fix-dependency.patch
new file mode 100644
index 000000000..15cffeb4e
--- /dev/null
+++ b/ports/ccfits/fix-dependency.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d72ae85..405d96b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -22,8 +22,8 @@ ENDIF()
+
+ #add_subdirectory (src)
+
+-find_package(CFITSIO REQUIRED)
+-INCLUDE_DIRECTORIES(${CFITSIO_INCLUDE_DIR})
++find_package(unofficial-cfitsio CONFIG REQUIRED)
++set(CFITSIO_LIBRARY cfitsio)
+
+ SET (LIB_TYPE STATIC)
+ IF (BUILD_SHARED_LIBS)