summaryrefslogtreecommitdiffstats
path: root/Tests/FindPackageTest/lib/suffix/test/SuffixTestConfigVersion.cmake
blob: 5c3bddece131bab72eaa1fad99503b687ef2cd53 (plain)
1
2
3
4
5
6
7
SET(PACKAGE_VERSION 1.2)
IF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 1)
  SET(PACKAGE_VERSION_COMPATIBLE 1)
  IF("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 2)
    SET(PACKAGE_VERSION_EXACT 1)
  ENDIF("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 2)
ENDIF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 1)