From 99d7412afcbcf38cd52792ab3f7cedde6b43e6c3 Mon Sep 17 00:00:00 2001 From: Wojciech Jarosz Date: Thu, 4 Apr 2024 16:27:39 +1300 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 31e5f88..598ebee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -134,9 +134,9 @@ if(APPLE AND NOT EMSCRIPTEN) set(HELLOIMGUI_USE_GLFW3 ON) - # on macOS, download a branch of glfw that allows dragging files onto app icon. + # on macOS, download a fork of glfw that allows dragging files onto app icon. - # need to enable OBJC language for the custom glfw branch + # need to enable OBJC language for the custom glfw fork enable_language(OBJC) set(HELLOIMGUI_DOWNLOAD_GLFW_IF_NEEDED OFF) CPMAddPackage( @@ -153,7 +153,7 @@ if(APPLE AND NOT EMSCRIPTEN) ) if(glfw_ADDED) - message(STATUS "Using custom branch of glfw on macOS") + message(STATUS "Using custom fork of glfw on macOS") mark_as_advanced( GLFW_BUILD_DOCS @@ -223,10 +223,6 @@ endforeach() set(HELLOIMGUI_EMSCRIPTEN_PTHREAD ON) set(HELLOIMGUI_EMSCRIPTEN_PTHREAD_ALLOW_MEMORY_GROWTH ON) -# on macOS, link statically against freetype -if(APPLE) - set(HELLOIMGUI_FREETYPE_STATIC ON) -endif() CPMAddPackage( NAME imgui_bundle