From c4cd9da674bcfb8dca89086ce3ffa2d3b03438eb Mon Sep 17 00:00:00 2001 From: Charlene Campbell <95987321+ccRlVDSyBZT1UK@users.noreply.github.com> Date: Wed, 29 Dec 2021 12:13:22 -0500 Subject: don't link rt when oglrenderer disabled on apple --- src/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 16c68e1..d1f47dc 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() -- cgit v1.2.3