vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO jeremy-rifkin/cpptrace REF "v${VERSION}" SHA512 fbea457268fcf535c8295098c8e21a915cae408a253050d9c69d2d34758b2e3cc14d3cfc39ee2dbe9399f4363a4a1462447206067f794cbf88282b54a9a587e7 HEAD_REF main ) vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" OPTIONS -DCPPTRACE_USE_EXTERNAL_LIBDWARF=ON -DCPPTRACE_USE_EXTERNAL_ZSTD=ON -DCPPTRACE_VCPKG=ON ) vcpkg_cmake_install() vcpkg_cmake_config_fixup( PACKAGE_NAME "cpptrace" CONFIG_PATH "lib/cmake/cpptrace" ) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")