1# will always be the actual version one
2# Wrapped in a macro because it's got a return before we want.
3macro(_gcvf_version)
4    @GCVF_PREVIOUS_FILE@
5endmacro()
6_gcvf_version()
7
8
9if(NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "@CMAKE_SYSTEM_NAME@")
10   set(PACKAGE_VERSION "${PACKAGE_VERSION} (@CMAKE_SYSTEM_NAME@)")
11   set(PACKAGE_VERSION_UNSUITABLE TRUE)
12   return()
13endif()
14
15if(ANDROID AND NOT ("${ANDROID_ABI}" STREQUAL "@ANDROID_ABI@"))
16   set(PACKAGE_VERSION "${PACKAGE_VERSION} (Android @ANDROID_ABI@)")
17   set(PACKAGE_VERSION_UNSUITABLE TRUE)
18   return()
19endif()