Files
Echoion/plugins/CMakeLists.txt
T
faumaray f78004e822
Container CI / release-build (push) Successful in 16m22s
Nightly release / publish-nightly (push) Successful in 16m6s
Release: use independent component repositories
2026-07-28 21:24:30 +03:00

18 lines
600 B
CMake

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)