From 0615f5d93384596d2a1ae399b97d64c59ad7bee8 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Fri, 8 Mar 2024 09:21:54 +0800 Subject: [PATCH] find frameworks correctly on osx --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 62fc0868bf..3fa25df651 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -458,8 +458,8 @@ if(SLANG_ENABLE_GFX) core imgui $<$:X11::X11> - $<$:-framework Cocoa> - $<$:-framework QuartzCore> + "$<$:-framework Cocoa>" + "$<$:-framework QuartzCore>" ${CMAKE_DL_LIBS} EXTRA_COMPILE_DEFINITIONS_PRIVATE $<$:SLANG_ENABLE_XLIB>