1d4afb5ceSopenharmony_ciset(PACKAGE_VERSION "@CPACK_PACKAGE_VERSION@") 2d4afb5ceSopenharmony_ci 3d4afb5ceSopenharmony_ci# Check whether the requested PACKAGE_FIND_VERSION is compatible 4d4afb5ceSopenharmony_ciif("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}") 5d4afb5ceSopenharmony_ci set(PACKAGE_VERSION_COMPATIBLE FALSE) 6d4afb5ceSopenharmony_cielse() 7d4afb5ceSopenharmony_ci set(PACKAGE_VERSION_COMPATIBLE TRUE) 8d4afb5ceSopenharmony_ci if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}") 9d4afb5ceSopenharmony_ci set(PACKAGE_VERSION_EXACT TRUE) 10d4afb5ceSopenharmony_ci endif() 11d4afb5ceSopenharmony_ciendif() 12