repertory/cmake/librepertory.cmake
Scott E. Graves 1b7e854f5f
All checks were successful
BlockStorage/repertory_windows/pipeline/head This commit looks good
BlockStorage/repertory_osx/pipeline/head This commit looks good
BlockStorage/repertory_linux_builds/pipeline/head This commit looks good
added zlib
2023-10-29 19:05:40 -05:00

30 lines
692 B
CMake

if (EXISTS "${CMAKE_CURRENT_BINARY_DIR}/librepertory${CMAKE_STATIC_LIBRARY_SUFFIX}")
file(REMOVE ${CMAKE_CURRENT_BINARY_DIR}/librepertory${CMAKE_STATIC_LIBRARY_SUFFIX})
endif()
add_library(librepertory STATIC
${REPERTORY_SOURCES}
${REPERTORY_HEADERS}
)
set_common_target_options(librepertory)
set_target_properties(librepertory PROPERTIES PREFIX "")
target_link_libraries(librepertory PRIVATE ${REPERTORY_LINK_LIBRARIES})
add_dependencies(librepertory
boost_project
curl_project
libsodium_project
rocksdb_project
zlib_project
)
if (LINUX)
add_dependencies(librepertory libuuid_project)
endif()
if (NOT WIN32)
add_dependencies(librepertory openssl_project)
endif()