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