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)