From 8e58d68a4c00e862798041cfbd3281716fbe48d8 Mon Sep 17 00:00:00 2001 From: Avery King Date: Wed, 19 Mar 2025 15:57:37 -0700 Subject: [PATCH] Fix wxWidgets dependency propogation This fixes an error with wxEventFilter's constructor and destructor defined in multiple places. It stems from upstream's conversion of wxBase into an actual target and not just an alias. (Eventually, we'll sort this out later, but for now, this fixes it). Signed-off-by: Avery King --- libraries/lib-theme/CMakeLists.txt | 3 +-- libraries/lib-wx-wrappers/CMakeLists.txt | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/libraries/lib-theme/CMakeLists.txt b/libraries/lib-theme/CMakeLists.txt index db1e4e1e0..46afd946b 100644 --- a/libraries/lib-theme/CMakeLists.txt +++ b/libraries/lib-theme/CMakeLists.txt @@ -17,8 +17,7 @@ set( SOURCES ) set( LIBRARIES lib-files-interface - wxWidgets::wxWidgets - ) +) tenacity_library( lib-theme "${SOURCES}" "${LIBRARIES}" "" "" ) diff --git a/libraries/lib-wx-wrappers/CMakeLists.txt b/libraries/lib-wx-wrappers/CMakeLists.txt index 70474b051..2e0ae3b75 100644 --- a/libraries/lib-wx-wrappers/CMakeLists.txt +++ b/libraries/lib-wx-wrappers/CMakeLists.txt @@ -37,7 +37,6 @@ set( SOURCES set( LIBRARIES lib-files-interface - wxWidgets::wxWidgets ) tenacity_library( lib-wx-wrappers "${SOURCES}" "${LIBRARIES}"