mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-22 10:37:10 +01:00
[nanodbc] Fix link error 2019 (#9185)
This commit is contained in:
parent
0548f8a50c
commit
0173bf09bd
@ -1,4 +1,4 @@
|
||||
Source: nanodbc
|
||||
Version: 2.12.4-4
|
||||
Version: 2.12.4-5
|
||||
Homepage: https://github.com/lexicalunit/nanodbc
|
||||
Description: A small C++ wrapper for the native C ODBC API.
|
||||
|
@ -1,5 +1,3 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
# Only static libraries are supported.
|
||||
# See https://github.com/nanodbc/nanodbc/issues/13
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
@ -23,7 +21,7 @@ vcpkg_configure_cmake(
|
||||
# /Legacy
|
||||
-DNANODBC_DISABLE_EXAMPLES=ON
|
||||
-DNANODBC_DISABLE_TESTS=ON
|
||||
-DNANODBC_ENABLE_UNICODE=ON
|
||||
-DNANODBC_ENABLE_UNICODE=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
@ -33,4 +31,4 @@ if(EXISTS ${CURRENT_PACKAGES_DIR}/cmake)
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH cmake)
|
||||
endif()
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/nanodbc RENAME copyright)
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
Loading…
x
Reference in New Issue
Block a user