aboutsummaryrefslogtreecommitdiff
path: root/ports/nanodbc/0001_cmake.patch
diff options
context:
space:
mode:
authorsdcb <sdflysha@qq.com>2016-10-13 19:07:01 +0800
committersdcb <sdflysha@qq.com>2016-10-13 19:07:01 +0800
commitccb765efbb01a74bb8a8dec9629e137501fd7cdf (patch)
tree4fc883c4df1f0935b7d2c5de8da202965039e6b4 /ports/nanodbc/0001_cmake.patch
parentd86224f012b070c0535f88926f072e74a587f2e5 (diff)
downloadvcpkg-ccb765efbb01a74bb8a8dec9629e137501fd7cdf.tar.gz
vcpkg-ccb765efbb01a74bb8a8dec9629e137501fd7cdf.zip
Add nanodbc.
Diffstat (limited to 'ports/nanodbc/0001_cmake.patch')
-rw-r--r--ports/nanodbc/0001_cmake.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/ports/nanodbc/0001_cmake.patch b/ports/nanodbc/0001_cmake.patch
new file mode 100644
index 000000000..36d57be0e
--- /dev/null
+++ b/ports/nanodbc/0001_cmake.patch
@@ -0,0 +1,23 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9f4aa71..94edd95 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -201,9 +201,16 @@ endif()
+ if(NANODBC_INSTALL)
+ install(FILES src/nanodbc.h DESTINATION include)
+ if(NANODBC_STATIC)
+- install(TARGETS nanodbc ARCHIVE DESTINATION lib)
++ install(
++ TARGETS nanodbc
++ ARCHIVE DESTINATION lib
++ LIBRARY DESTINATION lib)
+ else()
+- install(TARGETS nanodbc LIBRARY DESTINATION lib)
++ install(
++ TARGETS nanodbc
++ ARCHIVE DESTINATION lib
++ LIBRARY DESTINATION lib
++ RUNTIME DESTINATION bin)
+ endif()
+ message(STATUS "Target install: Turned on")
+ else()