vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO stiffstream/json_dto REF 7fce92cd3bdacdcd0b41ed26d2cc981e3f70956e # v.0.2.13 SHA512 f678545cc60828ab76d6e8532ac9dbf8e4e68d873d0a98f17d62934dd0b3a3e255b38adf838b65a12e0d954edc7866eb6393f6783709f6f7fac29167886e7bf3 ) 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)