Skip to content

FindwxWidgets: fails to find wxWidgets on FreeBSD

This CMakeLists.txt:

find_package(wxWidgets COMPONENTS base)

fails:

-- Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES wxWidgets_INCLUDE_DIRS) 

cmake-3.14.5

FreeBSD 12 amd64

wxWidgets are installed:

$ pkg info | grep wx
wx30-gtk3-3.0.4_7              The wxWidgets GUI toolkit with GTK+ bindings
wx31-gtk3-3.1.2_2              GUI toolkit (wxWidgets) with GTK+ bindings

Documentation says that wxWidgets are supposed to be found: https://cmake.org/cmake/help/v3.0/module/FindwxWidgets.html

Edited by Brad King
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information