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