vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO winsoft666/veigar HEAD_REF master REF "${VERSION}" SHA512 cfe7986d5d17e21ca7aff1f1e20b79136aef7e0da96e713f0077b3ad843a7a812202f0db300616c2ca8b925fb3e054bc76e24fb14ad83761ee34fb9946c33829 ) string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" VEIGAR_USE_STATIC_CRT) vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" OPTIONS -DVEIGAR_USE_STATIC_CRT:BOOL=${VEIGAR_USE_STATIC_CRT} -DVEIGAR_BUILD_TESTS:BOOL=OFF -DVEIGAR_BUILD_EXAMPLES:BOOL=OFF ) vcpkg_cmake_install() vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") vcpkg_copy_pdbs()