diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2018-03-21 12:27:29 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-03-21 23:41:51 -0700 |
| commit | 502c4653868efe6512f59400219085efc53f127a (patch) | |
| tree | e6af2d13dc5388431d41732522f29e550e7e1517 /ports/yaml-cpp | |
| parent | 38c9c97b6b2106304a9602ddf580b17e7bf56311 (diff) | |
| download | vcpkg-502c4653868efe6512f59400219085efc53f127a.tar.gz vcpkg-502c4653868efe6512f59400219085efc53f127a.zip | |
[yaml-cpp][zeromq][zstd] Fix non-windows
Diffstat (limited to 'ports/yaml-cpp')
| -rw-r--r-- | ports/yaml-cpp/portfile.cmake | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ports/yaml-cpp/portfile.cmake b/ports/yaml-cpp/portfile.cmake index 096b178ac..071931f64 100644 --- a/ports/yaml-cpp/portfile.cmake +++ b/ports/yaml-cpp/portfile.cmake @@ -17,7 +17,12 @@ vcpkg_configure_cmake( 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}/lib/cmake/yaml-cpp) + vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/yaml-cpp) +endif() # Adjust paths and remove hardcoded ones from the config files file(READ ${CURRENT_PACKAGES_DIR}/share/yaml-cpp/yaml-cpp-config.cmake YAML_CONFIG) |
