diff options
Diffstat (limited to 'PulseAudioConfigVersion.cmake.in')
-rw-r--r-- | PulseAudioConfigVersion.cmake.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/PulseAudioConfigVersion.cmake.in b/PulseAudioConfigVersion.cmake.in new file mode 100644 index 0000000..e2947de --- /dev/null +++ b/PulseAudioConfigVersion.cmake.in @@ -0,0 +1,11 @@ +set(PACKAGE_VERSION @PA_MAJOR@.@PA_MINOR@) + +if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" ) + set(PACKAGE_VERSION_COMPATIBLE FALSE) +else("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" ) + set(PACKAGE_VERSION_COMPATIBLE TRUE) + if( "${PACKAGE_FIND_VERSION}" STREQUAL "${PACKAGE_VERSION}") + set(PACKAGE_VERSION_EXACT TRUE) + endif( "${PACKAGE_FIND_VERSION}" STREQUAL "${PACKAGE_VERSION}") +endif("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" ) + |