From eb280910c9f7a2ff791f4b58fa3a6a727b18dea2 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Fri, 8 Nov 2024 18:16:15 +0800 Subject: [PATCH] ... --- CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 02ce7339..cf2e294a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,12 +82,4 @@ if(UNIX) if(PK_ENABLE_OS) target_link_libraries(${PROJECT_NAME} dl) endif() - - # for very old linux systems - include(CheckLibraryExists) - check_library_exists(rt clock_gettime "" HAVE_LIBRT) - - if(HAVE_LIBRT) - target_link_libraries(${PROJECT_NAME} rt) - endif() endif()