mirror of https://github.com/microsoft/vcpkg.git
[gdcm] no absolute paths (#21701)
This commit is contained in:
parent
8b8cf71700
commit
77a6edf5f1
|
|
@ -1,5 +1,3 @@
|
|||
vcpkg_fail_port_install(ON_TARGET "uwp")
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
|
|
@ -54,6 +52,9 @@ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/gdcmConfigure.h" "#define
|
|||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/gdcmConfigure.h" "#define GDCM_LIBRARY_OUTPUT_PATH \"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/bin\"" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/gdcmConfigure.h" "#define GDCM_CMAKE_INSTALL_PREFIX \"${CURRENT_PACKAGES_DIR}\"" "")
|
||||
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/gdcm/GDCMConfig.cmake" "set( GDCM_INCLUDE_DIRS \"${SOURCE_PATH}/Source/Common;${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/Source/Common;${SOURCE_PATH}/Source/DataStructureAndEncodingDefinition;${SOURCE_PATH}/Source/MediaStorageAndFileFormat;${SOURCE_PATH}/Source/MessageExchangeDefinition;${SOURCE_PATH}/Source/DataDictionary;${SOURCE_PATH}/Source/InformationObjectDefinition\")" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/gdcm/GDCMConfig.cmake" "set(GDCM_LIBRARY_DIRS \"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/bin/.\")" "")
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"name": "gdcm",
|
||||
"version": "3.0.7",
|
||||
"port-version": 3,
|
||||
"port-version": 4,
|
||||
"description": "Grassroots DICOM library",
|
||||
"homepage": "https://github.com/malaterre/GDCM",
|
||||
"supports": "!uwp & !(windows & (arm | arm64))",
|
||||
"supports": "!uwp & !(windows & arm)",
|
||||
"dependencies": [
|
||||
"expat",
|
||||
"openjpeg",
|
||||
|
|
|
|||
|
|
@ -2366,7 +2366,7 @@
|
|||
},
|
||||
"gdcm": {
|
||||
"baseline": "3.0.7",
|
||||
"port-version": 3
|
||||
"port-version": 4
|
||||
},
|
||||
"gdcm2": {
|
||||
"baseline": "deprecated",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "64bda232157a1119e4a16b3379294d13354e8971",
|
||||
"version": "3.0.7",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "de7a48decccdda2df7f6878f4002fa661f7a6090",
|
||||
"version": "3.0.7",
|
||||
|
|
|
|||
Loading…
Reference in New Issue