summaryrefslogtreecommitdiffstats
path: root/Tests/FindPackageTest/lib/suffix/test/SuffixTestConfigVersion.cmake
blob: 4e8ee82846cde9d423745e75d9b1023cdbad60c8 (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)