From 00f4242442146155d5a51f4727aefcc13c3a365c Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Sun, 19 Jul 2020 16:30:04 +0200 Subject: [PATCH] CMake: use library namespace in documentation example Closes https://github.com/wxWidgets/wxWidgets/pull/1988 --- docs/doxygen/overviews/cmake.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/doxygen/overviews/cmake.md b/docs/doxygen/overviews/cmake.md index 2407db3e49..68f3be5784 100644 --- a/docs/doxygen/overviews/cmake.md +++ b/docs/doxygen/overviews/cmake.md @@ -64,7 +64,7 @@ or specified via the -D command line option when running the cmake command. Option Name | Type | Default | Description ------------------------- | ----- | ------- | ---------------------------- -wxBUILD_SHARED | BOOL | ON | Build shared libraries +wxBUILD_SHARED | BOOL | ON | Build shared or static libraries wxBUILD_TESTS | STRING | OFF | CONSOLE_ONLY, ALL or OFF wxBUILD_SAMPLES | STRING | OFF | SOME, ALL or OFF wxBUILD_DEMOS | BOOL | OFF | Build demo applications @@ -122,5 +122,5 @@ Your *CMakeLists.txt* would look like this: ... add_subdirectory(libs/wxWidgets) add_executable(myapp myapp.cpp) -target_link_libraries(myapp net core base) +target_link_libraries(myapp wx::net wx::core wx::base) ~~~