94b7e63f6d
This will allow projects using cmake to get information about bash-completion. This works much like pkg-config files.
8 lines
257 B
CMake
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 ()
|