diff options
Diffstat (limited to 'cmake/dependencies/systemlibraries.cmake')
| -rw-r--r-- | cmake/dependencies/systemlibraries.cmake | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/cmake/dependencies/systemlibraries.cmake b/cmake/dependencies/systemlibraries.cmake deleted file mode 100644 index e00266d6..00000000 --- a/cmake/dependencies/systemlibraries.cmake +++ /dev/null @@ -1,20 +0,0 @@ -if (NOT APPLE) - find_library(LIBRT_LIBRARIES rt) - if (NOT LIBRT_LIBRARIES) - message(FATAL_ERROR "Could not find librt") - endif () -else () - set(LIBRT_LIBRARIES "") -endif () - -find_library(LIBPTHREAD_LIBRARIES pthread) -if (NOT LIBPTHREAD_LIBRARIES) - message(FATAL_ERROR "Could not find libpthread") -endif () - -find_library(LIBM_LIBRARIES m) -if (NOT LIBM_LIBRARIES) - message(FATAL_ERROR "Could not find libm") -endif () - -mark_as_advanced(LIBRT_LIBRARIES LIBPTHREAD_LIBRARIES LIBM_LIBRARIES) |
