diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 16c68e1b..d1f47dc3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -130,6 +130,8 @@ if (ENABLE_OGLRENDERER) else() if (WIN32) target_link_libraries(core ole32 comctl32 ws2_32) + elseif (APPLE) + target_link_libraries(core) else() target_link_libraries(core rt) endif() @@ -137,4 +139,4 @@ endif() if (ENABLE_JIT_PROFILING) target_link_libraries(core jitprofiling) -endif() \ No newline at end of file +endif()