annotate armadillo-2.4.4/build_aux/cmake/InstallFiles/ArmadilloConfigVersion.cmake.in @ 32:28aafd0c1a5d
slimline
Avoid crash on empty input
author |
Chris Cannam |
date |
Fri, 11 May 2012 16:30:34 +0100 |
parents |
8b6102e2a9b0 |
children |
|
rev |
line source |
max@0
|
1 set(PACKAGE_VERSION "@ARMADILLO_VERSION@")
|
max@0
|
2
|
max@0
|
3 # Check whether the requested PACKAGE_FIND_VERSION is compatible
|
max@0
|
4 if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
|
max@0
|
5 set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
max@0
|
6 else()
|
max@0
|
7 set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
max@0
|
8 if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
|
max@0
|
9 set(PACKAGE_VERSION_EXACT TRUE)
|
max@0
|
10 endif()
|
max@0
|
11 endif()
|