summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_package/VersionedA-1/VersionedAConfigVersion.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/find_package/VersionedA-1/VersionedAConfigVersion.cmake')
-rw-r--r--Tests/RunCMake/find_package/VersionedA-1/VersionedAConfigVersion.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_package/VersionedA-1/VersionedAConfigVersion.cmake b/Tests/RunCMake/find_package/VersionedA-1/VersionedAConfigVersion.cmake
new file mode 100644
index 0000000..2dbcfb2
--- /dev/null
+++ b/Tests/RunCMake/find_package/VersionedA-1/VersionedAConfigVersion.cmake
@@ -0,0 +1,4 @@
+set(PACKAGE_VERSION 1)
+if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 1)
+ set(PACKAGE_VERSION_COMPATIBLE 1)
+endif()