Przeglądaj źródła

Merge topic 'patch-FindOpenAL-version'

4df39cf269 FindOpenAL: Remove OPENAL_VERSION_STRING
ea2b9c6c01 FindOpenAL: Re-order deprecated variables section

Acked-by: Kitware Robot <[email protected]>
Merge-request: !11273
Brad King 2 tygodni temu
rodzic
commit
0e0a304f41
1 zmienionych plików z 13 dodań i 17 usunięć
  1. 13 17
      Modules/FindOpenAL.cmake

+ 13 - 17
Modules/FindOpenAL.cmake

@@ -9,7 +9,7 @@ Finds the Open Audio Library (OpenAL):
 
 .. code-block:: cmake
 
-  find_package(OpenAL [<version>] [...])
+  find_package(OpenAL [...])
 
 OpenAL is a cross-platform 3D audio API designed for efficient rendering of
 multichannel three-dimensional positional audio.  It is commonly used in games
@@ -40,10 +40,7 @@ This module defines the following variables:
 ``OpenAL_FOUND``
   .. versionadded:: 3.3
 
-  Boolean indicating whether (the requested version of) OpenAL was found.
-
-``OPENAL_VERSION_STRING``
-  Human-readable string containing the version of OpenAL found.
+  Boolean indicating whether OpenAL was found.
 
 Cache Variables
 ^^^^^^^^^^^^^^^
@@ -55,17 +52,6 @@ The following cache variables may also be set:
 ``OPENAL_LIBRARY``
   The path to the OpenAL library.
 
-Deprecated Variables
-^^^^^^^^^^^^^^^^^^^^
-
-The following variables are provided for backward compatibility:
-
-``OPENAL_FOUND``
-  .. deprecated:: 4.2
-    Use ``OpenAL_FOUND``, which has the same value.
-
-  Boolean indicating whether (the requested version of) OpenAL was found.
-
 Hints
 ^^^^^
 
@@ -86,6 +72,17 @@ This module accepts the following variables:
   5. Manually compiled framework: ``/Library/Frameworks``.
   6. Add-on package: ``/opt``.
 
+Deprecated Variables
+^^^^^^^^^^^^^^^^^^^^
+
+The following variables are provided for backward compatibility:
+
+``OPENAL_FOUND``
+  .. deprecated:: 4.2
+    Use ``OpenAL_FOUND``, which has the same value.
+
+  Boolean indicating whether OpenAL was found.
+
 Examples
 ^^^^^^^^
 
@@ -143,7 +140,6 @@ include(FindPackageHandleStandardArgs)
 find_package_handle_standard_args(
   OpenAL
   REQUIRED_VARS OPENAL_LIBRARY OPENAL_INCLUDE_DIR
-  VERSION_VAR OPENAL_VERSION_STRING
   )
 
 mark_as_advanced(OPENAL_LIBRARY OPENAL_INCLUDE_DIR)