mirror of
https://github.com/mpromonet/v4l2rtspserver
synced 2024-11-03 23:15:56 +00:00
add pthread to lib
This commit is contained in:
parent
d912aab90c
commit
97d9f7ae4d
@ -43,10 +43,6 @@ message(STATUS "CMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}")
|
||||
message(STATUS "CMAKE_C_COMPILER=${CMAKE_C_COMPILER}")
|
||||
message(STATUS "CMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}")
|
||||
|
||||
#pthread
|
||||
find_package (Threads)
|
||||
target_link_libraries (${PROJECT_NAME} Threads::Threads)
|
||||
|
||||
|
||||
# openssl ?
|
||||
if (WITH_SSL)
|
||||
@ -91,6 +87,10 @@ if (OpenSSL_FOUND)
|
||||
set(LIBRARIES ${LIBRARIES} ${OPENSSL_LIBRARIES})
|
||||
endif ()
|
||||
|
||||
#pthread
|
||||
find_package (Threads)
|
||||
target_link_libraries (libv4l2rtspserver PUBLIC Threads::Threads)
|
||||
|
||||
# LOG4CPP
|
||||
if (LOG4CPP)
|
||||
find_library(LOG4CPP_LIBRARY NAMES log4cpp)
|
||||
|
Loading…
Reference in New Issue
Block a user