set(ECHOION_URL_SHORTENER_INTERNAL_VERSION "${ECHOION_COMPONENT_VERSION}") set(ECHOION_URL_SHORTENER_EXTERNAL_VERSION "${ECHOION_COMPONENT_VERSION}") find_package(OpenSSL REQUIRED COMPONENTS Crypto) find_package(Boost REQUIRED COMPONENTS url) if(NOT TARGET EchoionApiPlugin) message(FATAL_ERROR "First-party plugins require BUILD_API=ON and Echoion::ApiPlugin") endif() if(NOT TARGET Void::ShortUrl) message(FATAL_ERROR "First-party URL shorteners require a VoidLibrary revision with Void::ShortUrl") endif() add_subdirectory(url-shortener-internal) add_subdirectory(url-shortener-external)