mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 19:29:07 +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>
16 lines
378 B
Diff
16 lines
378 B
Diff
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)
|