From f7520ee03db039c2c24b515403dc34d0136eb9d6 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Mon, 22 Jul 2019 19:53:20 +0200 Subject: [PATCH] Revert "revert last commit see: https://github.com/cimgui/cimgui/pull/98#issuecomment-513867796" This reverts commit b0c65144ab07347960dc2bfef1af944f20eb2f6e. will have to be reverted in 1.72 --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index bc2e045..6a51dee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,6 +26,9 @@ else (IMGUI_STATIC) endif (IMGUI_STATIC) target_link_libraries(cimgui ${IMGUI_LIBRARIES}) +if (APPLE) + target_link_libraries(cimgui "-framework ApplicationServices") +endif() set_target_properties(cimgui PROPERTIES PREFIX "") #install