mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 03:35:09 +08:00
3fadafface
* [many ports] Updates 2019.05.24 * Update SHA512 and resolve conflict for ebml and matroska * [avro-c]Fix build error caused by jansson upgrades. * [xxhash]Update to the next version to fix build error.(xxhash issue:#179) * Fix failures and undo asio * [libyaml, grpc, miniz, paho-mqtt, sqlitecpp] Update patches * Update REF * Undo nvtt flann itk libtins aws-sdk-cpp openvdb vlpp xmsh changes * [flann, fastcdr] Fix old patches and build error. * [flann, fastcdr] Fix build error. * Fix ensmallen uvatlas cppcms libplist failures and undo aws-c-common libopusenc arb taglib changes * [dcmtk, draco, flatbuffers, forge, ftgl, mosquitto,nmslib, ogre] Update old patches and fix build error. * fix libusbmuxd failures and undo xxhash paho-mqtt mongo-c-driver flann libffi * fix libimobiledevice and undo qhull harfbuzz lcm libbson draco flatbuffers * undo libmupdf forge kd-soap qca * [mosquitto] Fix installation of import libs * [arb][asio][aws-c-common][collada-dom][concurrentqueue][cryptopp][ebml] Revert trivial/undesired changes * [fastcdr] Minimize patch * [many ports] Revert trivial changes * [libyaml] Switch to non-dist tag * [sqlite-modern-cpp] Track master due to infrequent release * [nano-signal-slot] Revert downgrade * [openvpn3] Bump control version to account for portfile change * [sqlite-modern-cpp] Fixup wrong hash * [mosquitto] Commit missing patch
47 lines
1.3 KiB
CMake
47 lines
1.3 KiB
CMake
include(vcpkg_common_functions)
|
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO DCMTK/dcmtk
|
|
REF 1967b13134308f311e6a827e616958c6a4da5bc9
|
|
SHA512 a63a773e339081720adb0f3260a3b21ee11cde8009b321c3f45eeb40402ff29bd580926fb44f0dd784ba8369e2597933196bdaa324517d91fa5201b11b7504c0
|
|
HEAD_REF master
|
|
PATCHES ${CMAKE_CURRENT_LIST_DIR}/dcmtk.patch
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
OPTIONS
|
|
-DDCMTK_WITH_DOXYGEN=OFF
|
|
-DDCMTK_WITH_ZLIB=OFF
|
|
-DDCMTK_WITH_OPENSSL=OFF
|
|
-DDCMTK_WITH_PNG=OFF
|
|
-DDCMTK_WITH_TIFF=OFF
|
|
-DDCMTK_WITH_XML=OFF
|
|
-DDCMTK_WITH_ICONV=OFF
|
|
-DDCMTK_FORCE_FPIC_ON_UNIX=ON
|
|
-DDCMTK_OVERWRITE_WIN32_COMPILER_FLAGS=OFF
|
|
-DDCMTK_ENABLE_BUILTIN_DICTIONARY=ON
|
|
-DDCMTK_ENABLE_PRIVATE_TAGS=ON
|
|
-DBUILD_APPS=OFF
|
|
-DDCMTK_ENABLE_CXX11=ON
|
|
-DCMAKE_DEBUG_POSTFIX="d"
|
|
OPTIONS_DEBUG
|
|
-DINSTALL_HEADERS=OFF
|
|
-DINSTALL_OTHER=OFF
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
vcpkg_copy_pdbs()
|
|
|
|
vcpkg_fixup_cmake_targets()
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
# Handle copyright
|
|
file(INSTALL ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/dcmtk RENAME copyright)
|