From dc372f6eef54f8a4b436cf631cbf621437076677 Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Tue, 9 Oct 2018 22:54:46 +1100 Subject: Help: Document Use_wxWindows.cmake as deprecated The implementation already logged a message saying that the module was deprecated. This change adds that message to the module docs. --- Help/manual/cmake-modules.7.rst | 1 + Modules/Use_wxWindows.cmake | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Help/manual/cmake-modules.7.rst b/Help/manual/cmake-modules.7.rst index 189e3be..af8e33f 100644 --- a/Help/manual/cmake-modules.7.rst +++ b/Help/manual/cmake-modules.7.rst @@ -268,6 +268,7 @@ Deprecated Utility Modules /module/CMakeExpandImportedTargets /module/CMakeForceCompiler /module/TestCXXAcceptsFlag + /module/Use_wxWindows /module/WriteBasicConfigVersionFile Deprecated Find Modules diff --git a/Modules/Use_wxWindows.cmake b/Modules/Use_wxWindows.cmake index bd8cc01..7cdd92e 100644 --- a/Modules/Use_wxWindows.cmake +++ b/Modules/Use_wxWindows.cmake @@ -5,7 +5,8 @@ # Use_wxWindows # ------------- # -# +# Deprecated. Use ``find_package(wxWidgets)`` and +# ``include(${wxWidgets_USE_FILE})`` instead. # # # This convenience include finds if wxWindows is installed and set the -- cgit v0.12