diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e46c222..ec63094d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -161,9 +161,12 @@ add_library (mist ${libHeaders} ${libSources} ) +if (NOT APPLE) + set (LIBRT -lrt) +endif() target_link_libraries(mist -lpthread - -lrt + ${LIBRT} ) install( FILES ${libHeaders}