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