mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-15 00:39:01 +08:00
65a0e9b3ea
* [oatpp-sqlite] fix usage of oatpp-sqlite * update version * update patch * update version * update patch * update version --------- Co-authored-by: vzhli17 <v-zhli17@microsoft.com>
27 lines
795 B
CMake
27 lines
795 B
CMake
set(OATPP_VERSION "1.3.0")
|
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO oatpp/oatpp-sqlite
|
|
REF ${OATPP_VERSION}
|
|
SHA512 8a208145ee10ed858767b4b56c220b6befd83e6858759128103ce679b889e6218a95ed6627af5098e4d26367be8add82de26e1f1f8ef581b1913b8386f9d56de
|
|
HEAD_REF master
|
|
PATCHES
|
|
fix-usage.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
"-DOATPP_BUILD_TESTS:BOOL=OFF"
|
|
"-DOATPP_SQLITE_AMALGAMATION:BOOL=OFF"
|
|
)
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME oatpp-sqlite CONFIG_PATH lib/cmake/oatpp-sqlite-${OATPP_VERSION})
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|