repertory/cmake/librepertory.cmake
Scott E. Graves 1b8de3b097
All checks were successful
BlockStorage/repertory_osx_builds/pipeline/head This commit looks good
BlockStorage/repertory_linux_builds/pipeline/head This commit looks good
v2.0.1-rc (#13)
Reviewed-on: #13
2023-12-10 18:11:20 +00:00

22 lines
550 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
openssl_project
zlib_project
)