aboutsummaryrefslogtreecommitdiff
path: root/ports/commsdsl
diff options
context:
space:
mode:
Diffstat (limited to 'ports/commsdsl')
-rw-r--r--ports/commsdsl/portfile.cmake4
-rw-r--r--ports/commsdsl/vcpkg.json1
2 files changed, 5 insertions, 0 deletions
diff --git a/ports/commsdsl/portfile.cmake b/ports/commsdsl/portfile.cmake
index 0aaba7e8c..df428c0f8 100644
--- a/ports/commsdsl/portfile.cmake
+++ b/ports/commsdsl/portfile.cmake
@@ -24,7 +24,11 @@ vcpkg_copy_tools(
AUTO_CLEAN
)
+vcpkg_fixup_cmake_targets(CONFIG_PATH lib/LibCommsdsl/cmake TARGET_PATH share/LibCommsdsl)
+# after fixing the following dirs are empty
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib/LibCommsdsl")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/LibCommsdsl")
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
diff --git a/ports/commsdsl/vcpkg.json b/ports/commsdsl/vcpkg.json
index 6b4b8b6a4..c01c9e27d 100644
--- a/ports/commsdsl/vcpkg.json
+++ b/ports/commsdsl/vcpkg.json
@@ -1,6 +1,7 @@
{
"name": "commsdsl",
"version-string": "3.6.0",
+ "port-version": 1,
"description": "DSL schemas parser and code generator for CommsChampion Ecosystem",
"homepage": "https://commschamp.github.io/",
"documentation": "https://github.com/commschamp/commsdsl",