aboutsummaryrefslogtreecommitdiff
path: root/ports/zeromq
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-03-21 12:27:29 -0700
committerRobert Schumacher <roschuma@microsoft.com>2018-03-21 23:41:51 -0700
commit502c4653868efe6512f59400219085efc53f127a (patch)
treee6af2d13dc5388431d41732522f29e550e7e1517 /ports/zeromq
parent38c9c97b6b2106304a9602ddf580b17e7bf56311 (diff)
downloadvcpkg-502c4653868efe6512f59400219085efc53f127a.tar.gz
vcpkg-502c4653868efe6512f59400219085efc53f127a.zip
[yaml-cpp][zeromq][zstd] Fix non-windows
Diffstat (limited to 'ports/zeromq')
-rw-r--r--ports/zeromq/portfile.cmake7
1 files changed, 6 insertions, 1 deletions
diff --git a/ports/zeromq/portfile.cmake b/ports/zeromq/portfile.cmake
index 0f3765c3c..062ed6b48 100644
--- a/ports/zeromq/portfile.cmake
+++ b/ports/zeromq/portfile.cmake
@@ -31,7 +31,12 @@ vcpkg_install_cmake()
vcpkg_copy_pdbs()
-vcpkg_fixup_cmake_targets(CONFIG_PATH CMake)
+if(EXISTS ${CURRENT_PACKAGES_DIR}/CMake)
+ vcpkg_fixup_cmake_targets(CONFIG_PATH CMake)
+endif()
+if(EXISTS ${CURRENT_PACKAGES_DIR}/share/cmake/ZeroMQ)
+ vcpkg_fixup_cmake_targets(CONFIG_PATH share/cmake/ZeroMQ)
+endif()
file(READ ${CURRENT_PACKAGES_DIR}/share/zeromq/ZeroMQConfig.cmake _contents)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")