aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlene Campbell <95987321+ccRlVDSyBZT1UK@users.noreply.github.com>2021-12-29 12:13:22 -0500
committerNadia Holmquist Pedersen <nadia@nhp.sh>2021-12-29 18:28:27 +0100
commitc4cd9da674bcfb8dca89086ce3ffa2d3b03438eb (patch)
tree85b762a6db85cea43f283e20904bc12e373d0ec0
parent3d24057155cada92a7c5bf3ed0f4dfb76c676f72 (diff)
don't link rt when oglrenderer disabled on apple
-rw-r--r--src/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
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()