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
This commit is contained in:
Maarten Bent 2021-06-28 22:07:09 +02:00 committed by Vadim Zeitlin
parent 3aed157e19
commit 7828975bb3

View File

@ -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()