aboutsummaryrefslogtreecommitdiff
path: root/ports/plplot/0005-wxwidgets-fix-rel-lib-dir.patch
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2020-01-16 08:37:07 +0800
committerVictor Romero <romerosanchezv@gmail.com>2020-01-15 16:37:07 -0800
commited2d8564f0822115695a024f4e8ece2944e8bb4e (patch)
tree8d9bb25bf128453cfc49631107c3c1d0e6148f0e /ports/plplot/0005-wxwidgets-fix-rel-lib-dir.patch
parent41fdef7a168e80cd1a381870727f688c37cc9c0a (diff)
downloadvcpkg-ed2d8564f0822115695a024f4e8ece2944e8bb4e.tar.gz
vcpkg-ed2d8564f0822115695a024f4e8ece2944e8bb4e.zip
[plplot] fix static build issue (#8817)
Diffstat (limited to 'ports/plplot/0005-wxwidgets-fix-rel-lib-dir.patch')
-rw-r--r--ports/plplot/0005-wxwidgets-fix-rel-lib-dir.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/ports/plplot/0005-wxwidgets-fix-rel-lib-dir.patch b/ports/plplot/0005-wxwidgets-fix-rel-lib-dir.patch
deleted file mode 100644
index 7ebe79f11..000000000
--- a/ports/plplot/0005-wxwidgets-fix-rel-lib-dir.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff --git a/cmake/modules/FindwxWidgets.cmake b/cmake/modules/FindwxWidgets.cmake
-index eaaa358..a68683c 100644
---- a/cmake/modules/FindwxWidgets.cmake
-+++ b/cmake/modules/FindwxWidgets.cmake
-@@ -516,13 +516,11 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
- endif()
- endif()
- if(VCPKG_TARGET_TRIPLET)
-- find_library(wxWidgets_LIB_DIR
-- NAMES
-- wxmsw31ud_core.lib
-- wxmsw31u_core.lib
-- PATHS
-- DOC "Path to wxWidgets libraries"
-- )
-+ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
-+ find_library(wxWidgets_LIB_DIR NAMES wxmsw31ud_core.lib DOC "Path to wxWidgets libraries")
-+ else()
-+ find_library(wxWidgets_LIB_DIR NAMES wxmsw31u_core.lib DOC "Path to wxWidgets libraries")
-+ endif()
- get_filename_component(wxWidgets_LIB_DIR ${wxWidgets_LIB_DIR} DIRECTORY)
- elseif(BUILD_SHARED_LIBS)
- find_path(wxWidgets_LIB_DIR