From afb52122e37f80d7b9ce9554a7ad4cf62231dd8b Mon Sep 17 00:00:00 2001 From: Dicky Date: Mon, 18 Mar 2024 17:39:43 +0800 Subject: [PATCH] update imgui and fixed MacOS RPATH issue --- CMakeLists.txt | 1 + imgui | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 16bce5f..145c3f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,6 +27,7 @@ endif() if (APPLE) set(FRAMEWORKS_PATH ${PROJECT_BINARY_DIR}/lib) add_link_options(-ld_classic) +SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-rpath -Wl,/usr/local/lib") else(APPLE) set(FRAMEWORKS_PATH ${PROJECT_BINARY_DIR}) endif(APPLE) diff --git a/imgui b/imgui index 72b75da..9125dc2 160000 --- a/imgui +++ b/imgui @@ -1 +1 @@ -Subproject commit 72b75da8dfbba65f8991780504ba9ce7569e3357 +Subproject commit 9125dc23813941aade79649add4f9dc7b6dee2de