fix
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
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
|
||||
rocksdb_project
|
||||
zlib_project
|
||||
)
|
||||
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
|
||||
rocksdb_project
|
||||
zlib_project
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user