vcpkg/ports/wxwidgets/nanosvg-ext-depend.patch
Alexander Neumann 0afa78153b
[nanosvg] Update and use upstream CMake (#29998)
* [nanosvg] Update and add FLTK patch

* [wxWidgets] fix nanosvg usage

* v db

* typo fix

* v db

* mathgl wrong gsl linkage

* fix nanosvg in wxwidgets wrapper

* v db revert trace in mathgl

* fix !windows

* v db
2023-03-20 12:10:36 -07:00

14 lines
457 B
Diff

diff --git a/build/cmake/wxWidgetsConfig.cmake.in b/build/cmake/wxWidgetsConfig.cmake.in
index 6ef5a6e..248a701 100644
--- a/build/cmake/wxWidgetsConfig.cmake.in
+++ b/build/cmake/wxWidgetsConfig.cmake.in
@@ -1,5 +1,8 @@
@PACKAGE_INIT@
+include(CMakeFindDependencyMacro)
+find_dependency(NanoSVG CONFIG)
+
# determine target from compiler, platform and library type
if(WIN32 AND NOT CYGWIN AND NOT MSYS)
if(${CMAKE_CXX_COMPILER_ID} STREQUAL MSVC)