FIX: fixed cmakelists for usage as lib
This commit is contained in:
@@ -92,31 +92,31 @@ target_include_directories(whisper-com PUBLIC
|
||||
$<INSTALL_INTERFACE:include>
|
||||
src)
|
||||
|
||||
add_executable(main
|
||||
# add_executable(main
|
||||
|
||||
src/main.cpp
|
||||
# src/main.cpp
|
||||
|
||||
|
||||
)
|
||||
add_dependencies(main protoc)
|
||||
# )
|
||||
# add_dependencies(main protoc)
|
||||
|
||||
target_link_libraries(main
|
||||
whisper-com
|
||||
loguru
|
||||
)
|
||||
# target_link_libraries(main
|
||||
# whisper-com
|
||||
# loguru
|
||||
# )
|
||||
|
||||
add_executable(mainRcv
|
||||
# add_executable(mainRcv
|
||||
|
||||
src/mainRecv.cpp
|
||||
# src/mainRecv.cpp
|
||||
|
||||
|
||||
)
|
||||
target_link_libraries(mainRcv
|
||||
loguru
|
||||
whisper-com
|
||||
# )
|
||||
# target_link_libraries(mainRcv
|
||||
# loguru
|
||||
# whisper-com
|
||||
|
||||
|
||||
)
|
||||
# )
|
||||
|
||||
#
|
||||
# Everything TEST related
|
||||
|
||||
Reference in New Issue
Block a user