early-access version 2853
This commit is contained in:
32
externals/vcpkg/ports/gdcm/fix-share-path.patch
vendored
Executable file
32
externals/vcpkg/ports/gdcm/fix-share-path.patch
vendored
Executable file
@@ -0,0 +1,32 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 6ac16ab..842d833 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -246,15 +246,15 @@ if(NOT GDCM_INSTALL_LIB_DIR)
|
||||
endif()
|
||||
|
||||
if(NOT GDCM_INSTALL_DATA_DIR)
|
||||
- set(GDCM_INSTALL_DATA_DIR "share/${subdir}")
|
||||
+ set(GDCM_INSTALL_DATA_DIR "share/${projectname}")
|
||||
endif()
|
||||
|
||||
if(NOT GDCM_INSTALL_INCLUDE_DIR)
|
||||
- set(GDCM_INSTALL_INCLUDE_DIR "include/${subdir}")
|
||||
+ set(GDCM_INSTALL_INCLUDE_DIR "include/${projectname}")
|
||||
endif()
|
||||
|
||||
if(NOT GDCM_INSTALL_DOC_DIR)
|
||||
- set(GDCM_INSTALL_DOC_DIR "share/doc/${subdir}")
|
||||
+ set(GDCM_INSTALL_DOC_DIR "share/doc/${projectname}")
|
||||
endif()
|
||||
|
||||
if(NOT GDCM_INSTALL_MAN_DIR)
|
||||
@@ -262,7 +262,7 @@ if(NOT GDCM_INSTALL_MAN_DIR)
|
||||
endif()
|
||||
|
||||
if(NOT GDCM_INSTALL_PACKAGE_DIR)
|
||||
- set(GDCM_INSTALL_PACKAGE_DIR ${GDCM_INSTALL_LIB_DIR}/${subdir}
|
||||
+ set(GDCM_INSTALL_PACKAGE_DIR ${GDCM_INSTALL_LIB_DIR}/${projectname}
|
||||
CACHE INTERNAL "")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user