don't link rt when oglrenderer disabled on apple

This commit is contained in:
Charlene Campbell 2021-12-29 12:13:22 -05:00 committed by Nadia Holmquist Pedersen
parent 3d24057155
commit c4cd9da674
1 changed files with 3 additions and 1 deletions

View File

@ -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()
endif()