Browse Source

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.
Craig Scott 7 years ago
parent
commit
dc372f6eef
2 changed files with 3 additions and 1 deletions
  1. 1 0
      Help/manual/cmake-modules.7.rst
  2. 2 1
      Modules/Use_wxWindows.cmake

+ 1 - 0
Help/manual/cmake-modules.7.rst

@@ -268,6 +268,7 @@ Deprecated Utility Modules
    /module/CMakeExpandImportedTargets
    /module/CMakeExpandImportedTargets
    /module/CMakeForceCompiler
    /module/CMakeForceCompiler
    /module/TestCXXAcceptsFlag
    /module/TestCXXAcceptsFlag
+   /module/Use_wxWindows
    /module/WriteBasicConfigVersionFile
    /module/WriteBasicConfigVersionFile
 
 
 Deprecated Find Modules
 Deprecated Find Modules

+ 2 - 1
Modules/Use_wxWindows.cmake

@@ -5,7 +5,8 @@
 # Use_wxWindows
 # Use_wxWindows
 # -------------
 # -------------
 #
 #
-#
+# Deprecated.  Use ``find_package(wxWidgets)`` and
+# ``include(${wxWidgets_USE_FILE})`` instead.
 #
 #
 #
 #
 # This convenience include finds if wxWindows is installed and set the
 # This convenience include finds if wxWindows is installed and set the