aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-03-21 11:34:24 -0700
committerRobert Schumacher <roschuma@microsoft.com>2018-03-21 23:33:41 -0700
commit38c9c97b6b2106304a9602ddf580b17e7bf56311 (patch)
treea3e0c66bfd50a0c17dd937294d88ad0a3963af9c /ports
parentd45954a96b625ba1856ac97b429163a1919a3299 (diff)
downloadvcpkg-38c9c97b6b2106304a9602ddf580b17e7bf56311.tar.gz
vcpkg-38c9c97b6b2106304a9602ddf580b17e7bf56311.zip
[double-conversion] Fix on non-windows
Diffstat (limited to 'ports')
-rw-r--r--ports/double-conversion/portfile.cmake7
1 files changed, 3 insertions, 4 deletions
diff --git a/ports/double-conversion/portfile.cmake b/ports/double-conversion/portfile.cmake
index 326d7e1c1..47f3fba4e 100644
--- a/ports/double-conversion/portfile.cmake
+++ b/ports/double-conversion/portfile.cmake
@@ -23,6 +23,9 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
# Rename exported target files into something vcpkg_fixup_cmake_targets expects
+if(EXISTS ${CURRENT_PACKAGES_DIR}/lib/cmake/double-conversion)
+ vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/double-conversion)
+endif()
if(NOT VCPKG_USE_HEAD_VERSION)
if(EXISTS ${CURRENT_PACKAGES_DIR}/CMake)
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
@@ -51,10 +54,6 @@ if(NOT VCPKG_USE_HEAD_VERSION)
vcpkg_fixup_cmake_targets(CONFIG_PATH CMake)
endif()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
-else()
- if(EXISTS ${CURRENT_PACKAGES_DIR}/lib/cmake/double-conversion)
- vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/double-conversion)
- endif()
endif()
vcpkg_copy_pdbs()