diff --git a/ports/detours/CONTROL b/ports/detours/CONTROL index fdf9fa6a47..baf44f69d5 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 d1646711fd..9b57b1326d 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) diff --git a/versions/baseline.json b/versions/baseline.json index bbf5cd5df6..0bf60efbc4 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1597,8 +1597,8 @@ "port-version": 1 }, "detours": { - "baseline": "4.0.1-1", - "port-version": 0 + "baseline": "4.0.1", + "port-version": 2 }, "devicenameresolver": { "baseline": "2016-06-26-0850d88fa6-1", diff --git a/versions/d-/detours.json b/versions/d-/detours.json index 6726eb3364..bb2e73f0cc 100644 --- a/versions/d-/detours.json +++ b/versions/d-/detours.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "7400c2c8b63f9576a4b5e4464ad5d8e36d33e1d6", + "version-string": "4.0.1", + "port-version": 2 + }, { "git-tree": "ab6a570459cbae07325fbfdd4b51992c9dad3e41", "version-string": "4.0.1-1",