vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO stiffstream/json_dto REF a1375492e93cc698af60fe7937511ff28d87a5c8 # v.0.2.12 SHA512 d9306b7ea8b682ae7d76c6df518c64c444772c47b2b6750f5ebb609476aac5bd9ad529be802ad3348775e30169b0e86d8588aa897766d2f51c2f5186f7cb1354 ) vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH}/dev PREFER_NINJA # Disable this option if project cannot be built with Ninja OPTIONS -DJSON_DTO_INSTALL=ON -DJSON_DTO_TEST=OFF -DJSON_DTO_SAMPLE=OFF -DJSON_DTO_INSTALL_SAMPLES=OFF ) vcpkg_install_cmake() vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/json-dto) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib ${CURRENT_PACKAGES_DIR}/debug) # Handle copyright file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)