mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 16:53:02 +08:00
[czmq] Delete "headers" that should not be installed (#24434)
See: https://github.com/zeromq/czmq/issues/2197 Related: https://github.com/microsoft/vcpkg/pull/24433
This commit is contained in:
parent
fb02a78561
commit
474f73649c
@ -70,6 +70,12 @@ vcpkg_clean_executables_in_bin(FILE_NAMES zmakecert)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
# Remove headers with "common" names that conflict with other packages which aren't intended to be installed
|
||||
# See https://github.com/zeromq/czmq/issues/2197
|
||||
foreach(FILE readme.txt sha1.h sha1.inc_c slre.h slre.inc_c zgossip_engine.inc zgossip_msg.h zhash_primes.inc zsock_option.inc)
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/include/${FILE}")
|
||||
endforeach()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/include/czmq_library.h
|
||||
"if defined CZMQ_STATIC"
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "czmq",
|
||||
"version-semver": "4.2.1",
|
||||
"port-version": 1,
|
||||
"description": "High-level C binding for ZeroMQ",
|
||||
"homepage": "https://github.com/zeromq/czmq",
|
||||
"license": "MPL-2.0",
|
||||
|
@ -1762,7 +1762,7 @@
|
||||
},
|
||||
"czmq": {
|
||||
"baseline": "4.2.1",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"d3d12-memory-allocator": {
|
||||
"baseline": "2021-05-05",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "fd4ccb9b894541d10e393139468aaac97419b0f2",
|
||||
"version-semver": "4.2.1",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "e05dc72cf3b616b1fd6629ea3dc20d08ed8d8055",
|
||||
"version-semver": "4.2.1",
|
||||
|
Loading…
Reference in New Issue
Block a user