vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO silverqx/TinyORM REF "v${VERSION}" SHA512 ba3bf73972a6265663122e2c260354cf213dcdcf7bfd1f7a6a7eb43eb11e06fbed581b3f6ce28898eb60a85d0c9bfe45bfaa9596d92b62ca40702ede9856b183 HEAD_REF main PATCHES suppress-warning-STL4043.patch ) vcpkg_check_features( OUT_FEATURE_OPTIONS FEATURE_OPTIONS PREFIX TINYORM FEATURES disable-thread-local DISABLE_THREAD_LOCAL inline-constants INLINE_CONSTANTS mysql-ping MYSQL_PING orm ORM strict-mode STRICT_MODE tom TOM tom-example TOM_EXAMPLE ) vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" OPTIONS -DCMAKE_EXPORT_PACKAGE_REGISTRY:BOOL=OFF -DBUILD_TESTS:BOOL=OFF -DTINY_PORT:STRING=${PORT} -DTINY_VCPKG:BOOL=ON -DVERBOSE_CONFIGURE:BOOL=ON ${FEATURE_OPTIONS} ) vcpkg_cmake_install() vcpkg_cmake_config_fixup() if(TINYORM_TOM_EXAMPLE) vcpkg_copy_tools(TOOL_NAMES tom AUTO_CLEAN) endif() vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")