diff options
author | Chris Robinson <[email protected]> | 2018-11-27 15:23:18 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-27 15:23:18 -0800 |
commit | 21793884303edc4d5702b5a5fcd88a45c954028b (patch) | |
tree | 0d0da26f063ff71c8c63c70fda0447c9b3d6271c /CMakeLists.txt | |
parent | c2da83dea86f57e3095a704ef1f9c7b01852cd03 (diff) |
Remove unneeded mutex checks
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 04617d32..71e20eec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -636,7 +636,6 @@ int main() PTHREAD_SETNAME_NP_THREE_PARAMS ) ENDIF() - CHECK_SYMBOL_EXISTS(pthread_mutexattr_setkind_np "pthread.h;pthread_np.h" HAVE_PTHREAD_MUTEXATTR_SETKIND_NP) ELSE() CHECK_SYMBOL_EXISTS(pthread_setname_np pthread.h HAVE_PTHREAD_SETNAME_NP) IF(NOT HAVE_PTHREAD_SETNAME_NP) @@ -661,11 +660,8 @@ int main() PTHREAD_SETNAME_NP_THREE_PARAMS ) ENDIF() - CHECK_SYMBOL_EXISTS(pthread_mutexattr_setkind_np pthread.h HAVE_PTHREAD_MUTEXATTR_SETKIND_NP) ENDIF() - CHECK_SYMBOL_EXISTS(pthread_mutex_timedlock pthread.h HAVE_PTHREAD_MUTEX_TIMEDLOCK) - CHECK_LIBRARY_EXISTS(rt clock_gettime "" HAVE_LIBRT) IF(HAVE_LIBRT) SET(EXTRA_LIBS rt ${EXTRA_LIBS}) |