mirror of
https://github.com/Silicondust/libhdhomerun
synced 2025-08-20 05:23:27 -07:00
Update CMakeLists.txt
This commit is contained in:
parent
461e6a4e5d
commit
1ebbd2dba3
1 changed files with 3 additions and 3 deletions
|
@ -42,10 +42,10 @@ endif()
|
|||
if(WIN32)
|
||||
list(APPEND DEPLIBS ws2_32 iphlpapi)
|
||||
else()
|
||||
check_library_exists(pthread pthread_create "" HAVE_LIBTHREAD)
|
||||
check_library_exists(socket getaddrinfo "" HAVE_LIBSOCKET)
|
||||
check_library_exists(pthread pthread_create "" HAVE_LIBPTHREAD)
|
||||
check_library_exists(rt clock_gettime "" HAVE_LIBRT)
|
||||
if (HAVE_LIBTHREAD)
|
||||
check_library_exists(socket getaddrinfo "" HAVE_LIBSOCKET)
|
||||
if (HAVE_LIBPTHREAD)
|
||||
list(APPEND DEPLIBS pthread)
|
||||
endif()
|
||||
if (HAVE_LIBRT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue