pineapple/externals/vcpkg/ports/wxwidgets/usage

7 lines
350 B
Text
Raw Normal View History

2022-07-23 03:01:36 +02:00
The package wxwidgets provides CMake integration:
find_package(wxWidgets REQUIRED)
target_compile_definitions(main PRIVATE ${wxWidgets_DEFINITIONS} "$<$<CONFIG:DEBUG>:${wxWidgets_DEFINITIONS_DEBUG}>")
target_include_directories(main PRIVATE ${wxWidgets_INCLUDE_DIRS})
target_link_libraries(main PRIVATE ${wxWidgets_LIBRARIES})