Skip to content

Commit 9cfeb3b

Browse files
authored
[kf5plotting] fix single config builds (microsoft#42725)
1 parent 948820b commit 9cfeb3b

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

ports/kf5plotting/portfile.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ vcpkg_cmake_config_fixup(PACKAGE_NAME KF5Plotting CONFIG_PATH lib/cmake/KF5Plott
2020
vcpkg_copy_pdbs()
2121

2222
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
23-
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/plugins" "${CURRENT_PACKAGES_DIR}/debug/plugins")
23+
if(NOT VCPKG_BUILD_TYPE)
24+
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/plugins" "${CURRENT_PACKAGES_DIR}/debug/plugins")
25+
endif()
2426
file(RENAME "${CURRENT_PACKAGES_DIR}/lib/plugins" "${CURRENT_PACKAGES_DIR}/plugins")
2527

2628
file(GLOB LICENSE_FILES "${SOURCE_PATH}/LICENSES/*")

ports/kf5plotting/vcpkg.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "kf5plotting",
33
"version": "5.98.0",
4+
"port-version": 1,
45
"description": "Lightweight plotting framework",
56
"homepage": "https://api.kde.org/frameworks/kplotting/html/index.html",
67
"dependencies": [

versions/baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4086,7 +4086,7 @@
40864086
},
40874087
"kf5plotting": {
40884088
"baseline": "5.98.0",
4089-
"port-version": 0
4089+
"port-version": 1
40904090
},
40914091
"kf5service": {
40924092
"baseline": "5.98.0",

versions/k-/kf5plotting.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "d39d137ecaf46182303bb5845c61fc33c485d571",
5+
"version": "5.98.0",
6+
"port-version": 1
7+
},
38
{
49
"git-tree": "a242d0a106748fced7dacaf9e6c635bdafa9c289",
510
"version": "5.98.0",

0 commit comments

Comments
 (0)