Skip to content

Commit e7f4fda

Browse files
committed
build: move wxWidgets finding to root CMakeLists.txt
1 parent 6107124 commit e7f4fda

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ message("-----libsshtunnel-----")
4343
set(LIBSSHTUNNEL_INSTALL OFF CACHE BOOL "Set to OFF to not include libsshtunnnel artifacts in install")
4444
add_subdirectory(libsshtunnel)
4545

46+
# wxWidgets
47+
find_package(wxWidgets 3.1.6 REQUIRED core base qa)
48+
include(UsewxWidgets)
49+
4650

4751
#
4852
# source proper

src/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#
22
# dependencies
33
#
4-
find_package(wxWidgets 3.1.6 REQUIRED core base qa)
5-
include(UsewxWidgets)
64
include_directories(
75
${CMAKE_BINARY_DIR}
86
${CMAKE_SOURCE_DIR}

0 commit comments

Comments
 (0)