wxWidgets example
idotta opened this issue · comments
Hi there! Would someone please show me an example on how to use CPM to build a project using wxWidgets?
I couldn't make it work and I'm not experienced with CMake. I know there's something missing, but I can't figure out what. I'm trying to do it simply by using:
CPMAddPackage("gh:wxWidgets/wxWidgets@3.2.4")
include(${wxWidgets_USE_FILE})
add_executable(app main.cpp)
target_link_libraries(app PRIVATE ${wxWidgets_LIBRARIES})