grlConfigVersion.cmake
Go to the documentation of this file.
1 # ============================================================================
2 # Copyright (c) 2015 <provider-name>
3 # All rights reserved.
4 #
5 # See COPYING file for license information.
6 # ============================================================================
7 
8 ##############################################################################
9 # @file grlConfigVersion.cmake
10 # @brief Package configuration version file.
11 #
12 # @note The grlConfigVersion.cmake file is automatically
13 # generated by BASIS from the template file ConfigVersion.cmake.in
14 # which is part of the grl package.
15 #
16 # This file supports the usage of the package by other projects. It is loaded
17 # by the find_package() CMake command used by other projects to find this
18 # package in order to verify that the version of the package found is
19 # compatible with the version requested.
20 #
21 # @par Input variables
22 # <table border="0">
23 # <tr>
24 # @tp @b PACKAGE_FIND_NAME @endtp
25 # <td>The package name.</td>
26 # </tr>
27 # <tr>
28 # @tp @b &lt;PACKAGE&gt;_FIND_VERSION @endtp
29 # <td>Full requested version string.</td>
30 # </tr>
31 # <tr>
32 # @tp @b &lt;PACKAGE&gt;_FIND_VERSION_MAJOR @endtp
33 # <td>Major version if requested, else 0.</td>
34 # </tr>
35 # <tr>
36 # @tp @b &lt;PACKAGE&gt;_FIND_VERSION_MINOR @endtp
37 # <td>Minor version if requested, else 0.</td>
38 # </tr>
39 # <tr>
40 # @tp @b &lt;PACKAGE&gt;_FIND_VERSION_PATCH @endtp
41 # <td>Patch version if requested, else 0.</td>
42 # </tr>
43 # <tr>
44 # @tp @b &lt;PACKAGE&gt;_FIND_VERSION_TWEAK @endtp
45 # <td>Tweak version if requested, else 0.</td>
46 # </tr>
47 # <tr>
48 # @tp @b &lt;PACKAGE&gt;_FIND_VERSION_COUNT @endtp
49 # <td>Number of version components, 0 to 4.</td>
50 # </tr>
51 # </table>
52 #
53 # @par Output variables
54 # <table border="0">
55 # <tr>
56 # @tp @b PACKAGE_VERSION @endtp
57 # <td>Full provided version string.</td>
58 # </tr>
59 # <tr>
60 # @tp @b PACKAGE_VERSION_EXACT @endtp
61 # <td>True if version is exact match.</td>
62 # </tr>
63 # <tr>
64 # @tp @b PACKAGE_VERSION_COMPATIBLE @endtp
65 # <td>True if version is compatible.</td>
66 # </tr>
67 # <tr>
68 # @tp @b PACKAGE_VERSION_UNSUITABLE @endtp
69 # <td>True if unsuitable as any version.</td>
70 # </tr>
71 # </table>
72 #
73 # @sa http://www.cmake.org/Wiki/CMake_2.6_Notes
74 #
75 # @ingroup BasisConfig
76 ##############################################################################
77 
78 # ============================================================================
79 # version
80 # ============================================================================
81 
82 ## @brief Version of the found package.
83 set (PACKAGE_VERSION "4.0.0")
84 
85 # ============================================================================
86 # check compatibility
87 # ============================================================================
88 
89 # Perform compatibility check here using the input CMake variables.
90 # See example in http://www.cmake.org/Wiki/CMake_2.6_Notes.
91 
92 ## @brief Whether this package version is compatible with the requested version.
93 set (PACKAGE_VERSION_COMPATIBLE TRUE)
94 ## @brief Whether this package version is unsuitable with the requested version.
95 set (PACKAGE_VERSION_UNSUITABLE FALSE)
96 
97 ## @brief Whether this package version is the requested version.
98 if ("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL "4")
99  if ("${PACKAGE_FIND_VERSION_MINOR}" EQUAL "0")
100  set (PACKAGE_VERSION_EXACT TRUE)
101  endif ()
102 endif ()
or our tests failed to detect it correctly Please use a different C compiler or report this problem to the developers endif() if(UNIX AND CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64") endif(UNIX AND CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64") if(APPLE) set(CMAKE_MACOSX_RPATH ON)() endif() if(OpenCV_FOUND) if(NOT $
Definition: Settings.cmake:39