diff --git a/CMakeLists.txt b/CMakeLists.txt index 30d960cb07..31429960be 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -93,6 +93,7 @@ if(NOT SwiftFoundation_MODULE_TRIPLE) endif() # System dependencies +find_package(LibRT) find_package(dispatch CONFIG) if(NOT dispatch_FOUND) if(CMAKE_SYSTEM_NAME STREQUAL "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "Android") diff --git a/cmake/modules/FindLibRT.cmake b/cmake/modules/FindLibRT.cmake index 0a9f0d80e5..caee828517 100644 --- a/cmake/modules/FindLibRT.cmake +++ b/cmake/modules/FindLibRT.cmake @@ -4,7 +4,7 @@ # # Find librt library and headers. # -# The mdoule defines the following variables: +# The module defines the following variables: # # :: #