broken ssl
Some checks failed
Docker Build & Publish / build (push) Has been cancelled

This commit is contained in:
Nicholas Orlowsky 2025-02-17 18:46:33 -05:00
parent 10ca7f9f51
commit da9f2f2d51
Signed by: nickorlow
GPG key ID: 838827D8C4611687
4 changed files with 66 additions and 30 deletions

View file

@ -7,6 +7,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
find_package(OpenSSL REQUIRED)
add_custom_target(build-version
COMMAND cd ../build_supp && ./version.sh
DEPENDS build_supp/version.txt
@ -29,6 +31,8 @@ add_custom_target(run
FILE(GLOB LIB_SOURCES lib/*.cpp lib/**/*.cpp build_supp/version.cpp)
add_library(anthracite ${LIB_SOURCES})
add_dependencies(anthracite build-version)
target_link_libraries(anthracite OpenSSL::SSL OpenSSL::Crypto)
target_include_directories(anthracite PUBLIC ${OPENSSL_INCLUDE_DIR})
add_executable(anthracite-bin src/file_main.cpp)
target_link_libraries(anthracite-bin anthracite)