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