2
0

nanopb-config-version.cmake.in 390 B

1234567891011
  1. set(PACKAGE_VERSION "@nanopb_VERSION@")
  2. # Check whether the requested PACKAGE_FIND_VERSION is compatible
  3. if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
  4. set(PACKAGE_VERSION_COMPATIBLE FALSE)
  5. else()
  6. set(PACKAGE_VERSION_COMPATIBLE TRUE)
  7. if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
  8. set(PACKAGE_VERSION_EXACT TRUE)
  9. endif()
  10. endif()