2022-07-14 01:30:11 +08:00
|
|
|
diff --git a/CMake/vtkInstallCMakePackage.cmake b/CMake/vtkInstallCMakePackage.cmake
|
2022-10-01 05:52:19 +08:00
|
|
|
index bcb20446c2..24c06ed8ad 100644
|
2022-07-14 01:30:11 +08:00
|
|
|
--- 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
|
2022-10-01 05:52:19 +08:00
|
|
|
index bac8dce188..44004fd9bb 100644
|
2022-07-14 01:30:11 +08:00
|
|
|
--- 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
|
2022-10-01 05:52:19 +08:00
|
|
|
+ TARGETS unofficial::libharu::hpdf
|
2022-07-14 01:30:11 +08:00
|
|
|
STANDARD_INCLUDE_DIRS)
|
|
|
|
|
|
|
|
include(vtkDetectLibraryType)
|
|
|
|
-vtk_detect_library_shared(vtklibharu LibHaru::LibHaru)
|
2022-10-01 05:52:19 +08:00
|
|
|
+vtk_detect_library_shared(vtklibharu unofficial::libharu::hpdf)
|
2022-07-14 01:30:11 +08:00
|
|
|
|
|
|
|
set(HPDF_DLL 0)
|
|
|
|
if (WIN32 AND vtklibharu_is_shared)
|