1 2 3 4 5
set(PACKAGE_VERSION 2.0) if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 2) set(PACKAGE_VERSION_COMPATIBLE 1) endif("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 2)