vcpkg/ports/dcmtk/dcmtk.patch
Sébastien Matte 2d378e70a6
[DCMTK] Update to 3.6.6 (#17641)
* [dcmtk] Update to 3.6.6

* [dcmtk] Update to 3.6.6
2021-05-06 13:41:47 -07:00

17 lines
695 B
Diff

diff --git a/CMake/dcmtkPrepare.cmake b/CMake/dcmtkPrepare.cmake
index 23a9278..15e9391 100644
--- a/CMake/dcmtkPrepare.cmake
+++ b/CMake/dcmtkPrepare.cmake
@@ -210,9 +210,9 @@ include(GNUInstallDirs)
# CMake's files (DCMTKTarget.cmake, DCMTKConfigVersion.cmake and DCMTKConfig.cmake) are installed
# to different installation paths under Unix- and Windows-based systems
if(UNIX)
- set(DCMTK_INSTALL_CMKDIR "${CMAKE_INSTALL_LIBDIR}/cmake/dcmtk")
+ set(DCMTK_INSTALL_CMKDIR "share/dcmtk")
elseif(WIN32)
- set(DCMTK_INSTALL_CMKDIR "cmake")
+ set(DCMTK_INSTALL_CMKDIR "share/dcmtk")
endif()
#-----------------------------------------------------------------------------