aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/detours/CONTROL4
-rw-r--r--ports/detours/portfile.cmake9
2 files changed, 8 insertions, 5 deletions
diff --git a/ports/detours/CONTROL b/ports/detours/CONTROL
index fdf9fa6a4..baf44f69d 100644
--- a/ports/detours/CONTROL
+++ b/ports/detours/CONTROL
@@ -1,3 +1,5 @@
Source: detours
-Version: 4.0.1-1
+Version: 4.0.1
+Port-Version: 2
+Homepage: https://github.com/microsoft/Detours
Description: Detours is a software package for monitoring and instrumenting API calls on Windows. \ No newline at end of file
diff --git a/ports/detours/portfile.cmake b/ports/detours/portfile.cmake
index d1646711f..9b57b1326 100644
--- a/ports/detours/portfile.cmake
+++ b/ports/detours/portfile.cmake
@@ -15,11 +15,12 @@ vcpkg_build_nmake(
PROJECT_SUBPATH "src"
PROJECT_NAME "Makefile"
OPTIONS "PROCESSOR_ARCHITECTURE=${VCPKG_TARGET_ARCHITECTURE}"
- NO_DEBUG
+ OPTIONS_RELEASE "DETOURS_CONFIG=Release"
+ OPTIONS_DEBUG "DETOURS_CONFIG=Debug"
)
-file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}/lib.${VCPKG_TARGET_ARCHITECTURE}/ DESTINATION ${CURRENT_PACKAGES_DIR}/lib)
-file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}/lib.${VCPKG_TARGET_ARCHITECTURE}/ DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib)
-file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}/include DESTINATION ${CURRENT_PACKAGES_DIR}/include RENAME detours)
+file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/lib.${VCPKG_TARGET_ARCHITECTURE}Release/ DESTINATION ${CURRENT_PACKAGES_DIR}/lib)
+file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/lib.${VCPKG_TARGET_ARCHITECTURE}Debug/ DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib)
+file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/include DESTINATION ${CURRENT_PACKAGES_DIR}/include RENAME detours)
file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)