mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 18:32:47 +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")
|
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)
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||||
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/include/czmq_library.h
|
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/include/czmq_library.h
|
||||||
"if defined CZMQ_STATIC"
|
"if defined CZMQ_STATIC"
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "czmq",
|
"name": "czmq",
|
||||||
"version-semver": "4.2.1",
|
"version-semver": "4.2.1",
|
||||||
|
"port-version": 1,
|
||||||
"description": "High-level C binding for ZeroMQ",
|
"description": "High-level C binding for ZeroMQ",
|
||||||
"homepage": "https://github.com/zeromq/czmq",
|
"homepage": "https://github.com/zeromq/czmq",
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
|
@ -1762,7 +1762,7 @@
|
|||||||
},
|
},
|
||||||
"czmq": {
|
"czmq": {
|
||||||
"baseline": "4.2.1",
|
"baseline": "4.2.1",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"d3d12-memory-allocator": {
|
"d3d12-memory-allocator": {
|
||||||
"baseline": "2021-05-05",
|
"baseline": "2021-05-05",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "fd4ccb9b894541d10e393139468aaac97419b0f2",
|
||||||
|
"version-semver": "4.2.1",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "e05dc72cf3b616b1fd6629ea3dc20d08ed8d8055",
|
"git-tree": "e05dc72cf3b616b1fd6629ea3dc20d08ed8d8055",
|
||||||
"version-semver": "4.2.1",
|
"version-semver": "4.2.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user