ADD: added libzmq and cppm AND added the libs to the CMakeLists.txt
This commit is contained in:
@@ -13,13 +13,28 @@ IF(NOT TARGET loguru)
|
||||
add_subdirectory(libs/loguru EXCLUDE_FROM_ALL)
|
||||
ENDIF()
|
||||
|
||||
IF(NOT TARGET libzmq)
|
||||
set(ZMQ_BUILD_TESTS OFF CACHE INTERNAL "")
|
||||
add_subdirectory(libs/libzmq)
|
||||
|
||||
ENDIF()
|
||||
|
||||
IF(NOT TARGET cppzmq)
|
||||
set(CPPZMQ_BUILD_TESTS OFF CACHE INTERNAL "")
|
||||
add_subdirectory(libs/cppzmq EXCLUDE_FROM_ALL)
|
||||
ENDIF()
|
||||
|
||||
|
||||
add_library(whisper-com STATIC
|
||||
include/WHISPER/whisper.hpp
|
||||
src/WHISPER/whisper.cpp
|
||||
|
||||
)
|
||||
|
||||
target_link_libraries(whisper-com
|
||||
loguru
|
||||
cppzmq
|
||||
libzmq
|
||||
)
|
||||
|
||||
target_include_directories(whisper-com PUBLIC
|
||||
|
||||
Reference in New Issue
Block a user