vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO intel/hexl REF 0858760dc957280e8eb8953af4b4b83879d7b8a4 SHA512 f2400c4bf32d22904f5917a396fdf6fc625a8832455437429abd54cae70da51cfc42a57dc176d1faeb76f7cd4569dd7499a8f302aef2ea8463d3e8ddc3132050 HEAD_REF 1.2.3 ) if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") set(HEXL_SHARED OFF) else() set(HEXL_SHARED ON) endif() vcpkg_find_acquire_program(GIT) vcpkg_cmake_configure( SOURCE_PATH ${SOURCE_PATH} DISABLE_PARALLEL_CONFIGURE OPTIONS "-DHEXL_BENCHMARK=OFF" "-DHEXL_COVERAGE=OFF" "-DHEXL_TESTING=OFF" "-DHEXL_SHARED_LIB=${HEXL_SHARED}" ) vcpkg_cmake_install() vcpkg_fixup_pkgconfig() vcpkg_cmake_config_fixup(PACKAGE_NAME "HEXL" CONFIG_PATH "lib/cmake/hexl-1.2.3") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME "copyright") vcpkg_copy_pdbs()