cmake/Tests/RunCMake/find_package/VersionedA-2/VersionedAConfigVersion.cmake

5 lines
111 B

set(PACKAGE_VERSION 2)
if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 2)
set(PACKAGE_VERSION_COMPATIBLE 1)
endif()