diff options
author | Brad King <brad.king@kitware.com> | 2014-05-08 13:48:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-05-12 13:44:28 (GMT) |
commit | ac24a1c031a5ccb01c2a978655757e71c3f9acba (patch) | |
tree | 38f2326d20e1a4ef06ecaf70dbffc23c3085e7e3 /Tests/FindPackageTest/Exporter | |
parent | c010e7cc806d845f1b048bc8c41d2c1326075beb (diff) | |
download | CMake-ac24a1c031a5ccb01c2a978655757e71c3f9acba.zip CMake-ac24a1c031a5ccb01c2a978655757e71c3f9acba.tar.gz CMake-ac24a1c031a5ccb01c2a978655757e71c3f9acba.tar.bz2 |
Tests: Improve FindPackageTest exported package version
Add a random version component so that the test is unlikely to conflict
with other tests of the same CMake version on the same machine.
Diffstat (limited to 'Tests/FindPackageTest/Exporter')
-rw-r--r-- | Tests/FindPackageTest/Exporter/CMakeTestExportPackageConfigVersion.cmake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/FindPackageTest/Exporter/CMakeTestExportPackageConfigVersion.cmake.in b/Tests/FindPackageTest/Exporter/CMakeTestExportPackageConfigVersion.cmake.in index 42bd84e..6eac6e6 100644 --- a/Tests/FindPackageTest/Exporter/CMakeTestExportPackageConfigVersion.cmake.in +++ b/Tests/FindPackageTest/Exporter/CMakeTestExportPackageConfigVersion.cmake.in @@ -1,5 +1,5 @@ # Test config file. -set(PACKAGE_VERSION "1.@CMAKE_VERSION@") +set(PACKAGE_VERSION "1.@version@") if("${PACKAGE_FIND_VERSION}" VERSION_EQUAL "${PACKAGE_VERSION}") set(PACKAGE_VERSION_COMPATIBLE 1) set(PACKAGE_VERSION_EXACT 1) |