vcpkg/ports/wxwidgets/disable-platform-lib-dir.patch
Marek Roszko a8f69d8eff
[wxwidgets] Update to 3.1.4 (#12733)
* [wxwidgets] Update to 3.1.4

* tabs -> spaces
2020-08-05 13:01:00 -07:00

14 lines
343 B
Diff

diff --git a/build/cmake/init.cmake b/build/cmake/init.cmake
index d013e92..c03135d 100644
--- a/build/cmake/init.cmake
+++ b/build/cmake/init.cmake
@@ -149,7 +149,7 @@ else()
set(wxCOMPILER_PREFIX)
endif()
-if(MSVC)
+if(MSVC AND NOT wxBUILD_DISABLE_PLATFORM_LIB_DIR)
if(wxBUILD_SHARED)
set(lib_suffix "dll")
else()