Files
Echoion/plugins/CMakeLists.txt
T
faumaray bdd69f0aad update
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-25 23:44:48 +03:00

18 lines
554 B
CMake

set(ECHOION_URL_SHORTENER_INTERNAL_VERSION "1.0.0")
set(ECHOION_URL_SHORTENER_EXTERNAL_VERSION "1.0.0")
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)