From 7828975bb31df79464a4b5e97b72cf10d12b4da8 Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Mon, 28 Jun 2021 22:07:09 +0200 Subject: [PATCH] CMake: Never use lib prefix for msvc Fixes regression introduced in f830bde25b (CMake: Improve library names, 2021-05-24) Closes https://github.com/wxWidgets/wxWidgets/pull/2411 --- build/cmake/functions.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/cmake/functions.cmake b/build/cmake/functions.cmake index b3d4f371ec..445d64ea6d 100644 --- a/build/cmake/functions.cmake +++ b/build/cmake/functions.cmake @@ -213,7 +213,7 @@ function(wx_set_target_properties target_name is_base) endif() set(lib_prefix "lib") - if(WIN32 AND wxBUILD_SHARED) + if(MSVC OR (WIN32 AND wxBUILD_SHARED)) set(lib_prefix) endif()