mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 07:49:01 +08:00
72cdfe25ee
* update to 2.4.0-rc1 * update vtk vcpkg.json file * export targets * update patch * update patch * Fix FindLibHaru in vtk * update ports/vtk/FindLibHaru.patch * update patch * fix find libharu
37 lines
1.2 KiB
Diff
37 lines
1.2 KiB
Diff
diff --git a/CMake/vtkInstallCMakePackage.cmake b/CMake/vtkInstallCMakePackage.cmake
|
|
index c87bb9c..0c0133e 100644
|
|
--- a/CMake/vtkInstallCMakePackage.cmake
|
|
+++ b/CMake/vtkInstallCMakePackage.cmake
|
|
@@ -62,7 +62,6 @@ set(vtk_cmake_module_files
|
|
FindGLEW.cmake
|
|
FindJOGL.cmake
|
|
FindJsonCpp.cmake
|
|
- FindLibHaru.cmake
|
|
FindLibPROJ.cmake
|
|
FindLibXml2.cmake
|
|
FindLZ4.cmake
|
|
diff --git a/ThirdParty/libharu/CMakeLists.txt b/ThirdParty/libharu/CMakeLists.txt
|
|
index bac8dce..c0b98cd 100644
|
|
--- a/ThirdParty/libharu/CMakeLists.txt
|
|
+++ b/ThirdParty/libharu/CMakeLists.txt
|
|
@@ -4,16 +4,15 @@ vtk_module_third_party(
|
|
VERSION "2.4.0"
|
|
STANDARD_INCLUDE_DIRS
|
|
EXTERNAL
|
|
- PACKAGE LibHaru
|
|
+ PACKAGE unofficial-libharu CONFIG_MODE
|
|
# Unreleased. Requires these PRs:
|
|
# https://github.com/libharu/libharu/pull/157
|
|
# https://github.com/libharu/libharu/pull/187
|
|
- VERSION 2.4.0
|
|
- TARGETS LibHaru::LibHaru
|
|
+ TARGETS unofficial::libharu::haru
|
|
STANDARD_INCLUDE_DIRS)
|
|
|
|
include(vtkDetectLibraryType)
|
|
-vtk_detect_library_shared(vtklibharu LibHaru::LibHaru)
|
|
+vtk_detect_library_shared(vtklibharu unofficial::libharu::haru)
|
|
|
|
set(HPDF_DLL 0)
|
|
if (WIN32 AND vtklibharu_is_shared)
|