From 3d4277be4d9dda5e36b9778ceb7da1aa4dc421fa Mon Sep 17 00:00:00 2001 From: Victor Bombi Date: Thu, 4 Mar 2021 13:04:14 +0100 Subject: [PATCH] CMakeLists: win32 add imm32 library --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6268c16..1008e41 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,6 +40,7 @@ endif (IMGUI_STATIC) target_compile_definitions(cimgui PUBLIC IMGUI_DISABLE_OBSOLETE_FUNCTIONS=1) if (WIN32) target_compile_definitions(cimgui PUBLIC IMGUI_IMPL_API=extern\t\"C\"\t__declspec\(dllexport\)) + list(APPEND IMGUI_LIBRARIES imm32) else (WIN32) target_compile_definitions(cimgui PUBLIC IMGUI_IMPL_API=extern\t\"C\"\t) endif (WIN32)