bash-completion/bash-completion-config-version.cmake.in
Igor Murzov 94b7e63f6d Add config for cmake to bash-completion.
This will allow projects using cmake to get information about
bash-completion. This works much like pkg-config files.
2013-04-06 13:35:02 +04:00

8 lines
257 B
CMake

set (PACKAGE_VERSION "@VERSION@")
if (NOT ${PACKAGE_FIND_VERSION} VERSION_GREATER ${PACKAGE_VERSION})
set (PACKAGE_VERSION_COMPATIBLE 1)
if (${PACKAGE_FIND_VERSION} VERSION_EQUAL ${PACKAGE_VERSION})
set (PACKAGE_VERSION_EXACT 1)
endif ()
endif ()