From ad8173d562bc0fae824926b06c39c4109dbb96d4 Mon Sep 17 00:00:00 2001 From: IoI_xD Date: Sun, 19 Jul 2026 14:20:43 -0700 Subject: [PATCH] have cmake not prefix the library --- CMakeLists.txt | 5 +++++ examples/basic/example.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a16283e..fde6fd1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,11 @@ set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) +if(WIN32) +set(CMAKE_STATIC_LIBRARY_PREFIX "") +set(CMAKE_SHARED_LIBRARY_PREFIX "") +endif() + option(MW_CLASSIC_THEME "Use classic theme" OFF) option(MW_BUILD_EXAMPLES "Build examples" OFF) option(MW_USE_STB_IMAGE "Use stb_image" ON) diff --git a/examples/basic/example.c b/examples/basic/example.c index fdf6027..8fe38da 100644 --- a/examples/basic/example.c +++ b/examples/basic/example.c @@ -112,7 +112,7 @@ int main() { MwNtext, "font", NULL); button4 = MwVaCreateWidget(MwButtonClass, "button", window, 50, 225, 100, 125, - MwNtext, "日本語の表記体系", + MwNtext, "lorem ipsum", MwNbackground, "#f66", MwNforeground, "#000", NULL);