aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorSamuel Toussay <samuel@askia.com>2021-03-26 23:56:50 +0100
committerGitHub <noreply@github.com>2021-03-26 15:56:50 -0700
commite814436c12d1df0b401bbecd5360aaad3dd3078a (patch)
tree3c32b15f4783865743fcd96319f58b1e027c6f85 /ports
parenta9ba425534cda2791059f201c5edce77b580a985 (diff)
downloadvcpkg-e814436c12d1df0b401bbecd5360aaad3dd3078a.tar.gz
vcpkg-e814436c12d1df0b401bbecd5360aaad3dd3078a.zip
Nanodbc/fix/config cmake files path linux (#16045)
* [nanodbc] Fix CMake config files install path on Linux * [nanodbc] Update port version Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Diffstat (limited to 'ports')
-rw-r--r--ports/nanodbc/CONTROL1
-rw-r--r--ports/nanodbc/portfile.cmake2
2 files changed, 2 insertions, 1 deletions
diff --git a/ports/nanodbc/CONTROL b/ports/nanodbc/CONTROL
index 16a8ff83b..6903ada85 100644
--- a/ports/nanodbc/CONTROL
+++ b/ports/nanodbc/CONTROL
@@ -1,5 +1,6 @@
Source: nanodbc
Version: 2.13.0
+Port-Version: 2
Homepage: https://github.com/lexicalunit/nanodbc
Description: A small C++ wrapper for the native C ODBC API.
Build-Depends: unixodbc(!windows)
diff --git a/ports/nanodbc/portfile.cmake b/ports/nanodbc/portfile.cmake
index eba375813..da2cba0cd 100644
--- a/ports/nanodbc/portfile.cmake
+++ b/ports/nanodbc/portfile.cmake
@@ -25,7 +25,7 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_fixup_cmake_targets(CONFIG_PATH cmake)
else()
- vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake)
+ vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
endif()
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)