vcpkg/ports/wxwidgets/disable-platform-lib-dir.patch

14 lines
343 B
Diff
Raw Normal View History

2018-02-24 17:29:13 +08:00
diff --git a/build/cmake/init.cmake b/build/cmake/init.cmake
index d013e92..c03135d 100644
2018-02-24 17:29:13 +08:00
--- a/build/cmake/init.cmake
+++ b/build/cmake/init.cmake
@@ -149,7 +149,7 @@ else()
2018-02-24 17:29:13 +08:00
set(wxCOMPILER_PREFIX)
endif()
-if(MSVC)
+if(MSVC AND NOT wxBUILD_DISABLE_PLATFORM_LIB_DIR)
2018-02-24 17:29:13 +08:00
if(wxBUILD_SHARED)
set(lib_suffix "dll")
else()