-
Notifications
You must be signed in to change notification settings - Fork 1
/
commonConfigVersion.cmake.in
56 lines (53 loc) · 2.57 KB
/
commonConfigVersion.cmake.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
##------------------------------------------------------------------------------
## avigle-common -- common classes/tools
##
## Developed during the research project AVIGLE
## which was part of the Hightech.NRW research program
## funded by the ministry for Innovation, Science, Research and Technology
## of the German state Northrhine-Westfalia, and by the European Union.
##
## Copyright (c) 2010--2013, Tom Vierjahn et al.
##------------------------------------------------------------------------------
## License
##
## This library/program is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published
## by the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## If you are using this library/program in a project, work or publication,
## please cite [1,2].
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##------------------------------------------------------------------------------
## References
##
## [1] S. Rohde, N. Goddemeier, C. Wietfeld, F. Steinicke, K. Hinrichs,
## T. Ostermann, J. Holsten, D. Moormann:
## "AVIGLE: A System of Systems Concept for an
## Avionic Digital Service Platform based on
## Micro Unmanned Aerial Vehicles".
## In Proc. IEEE Int'l Conf. Systems Man and Cybernetics (SMC),
## pp. 459--466. 2010. DOI: 10.1109/ICSMC.2010.5641767
## [2] S. Strothoff, D. Feldmann, F. Steinicke, T. Vierjahn, S. Mostafawy:
## "Interactive generation of virtual environments using MUAVs".
## In Proc. IEEE Int. Symp. VR Innovations, pp. 89--96, 2011.
## DOI: 10.1109/ISVRI.2011.5759608
##------------------------------------------------------------------------------
set(PACKAGE_VERSION "@VERSION_INT@")
string(REPLACE "." "" PACKAGE_FIND_VERSION_INT ${PACKAGE_FIND_VERSION})
# Check whether the requested PACKAGE_FIND_VERSION_INT is compatible
if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION_INT}")
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()
set(PACKAGE_VERSION_COMPATIBLE TRUE)
if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION_INT}")
set(PACKAGE_VERSION_EXACT TRUE)
endif()
endif()