diff options
author | Alex Neundorf <neundorf@kde.org> | 2012-02-16 23:36:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-03-07 16:23:18 (GMT) |
commit | 6973e2d5a8be4d19aeb26fa67c0ed501ed81364e (patch) | |
tree | f01b6b5ecabbe560915171bd30cdd2a7eb355abf /Tests/FindPackageTest | |
parent | 204f5d443c68317b8a24439035bf1f6c39cc001c (diff) | |
download | CMake-6973e2d5a8be4d19aeb26fa67c0ed501ed81364e.zip CMake-6973e2d5a8be4d19aeb26fa67c0ed501ed81364e.tar.gz CMake-6973e2d5a8be4d19aeb26fa67c0ed501ed81364e.tar.bz2 |
wrap write_basic_config_version_file as write_basic_package_version_file()
So the name fits better with configure_package_config_file(), as
discussed on the mailing list. Adapt the documentation accordingly.
Alex
Diffstat (limited to 'Tests/FindPackageTest')
-rw-r--r-- | Tests/FindPackageTest/CMakeLists.txt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Tests/FindPackageTest/CMakeLists.txt b/Tests/FindPackageTest/CMakeLists.txt index 19255bf..a4f213b 100644 --- a/Tests/FindPackageTest/CMakeLists.txt +++ b/Tests/FindPackageTest/CMakeLists.txt @@ -335,11 +335,9 @@ endif() #----------------------------------------------------------------------------- # Test write_basic_config_version_file(). -include(WriteBasicConfigVersionFile) - -write_basic_config_version_file(${CMAKE_CURRENT_BINARY_DIR}/Foo123ConfigVersion.cmake - VERSION 1.2.3 - COMPATIBILITY AnyNewerVersion) +write_basic_package_version_file(${CMAKE_CURRENT_BINARY_DIR}/Foo123ConfigVersion.cmake + VERSION 1.2.3 + COMPATIBILITY AnyNewerVersion) set(PACKAGE_FIND_VERSION 2.3.4) include(${CMAKE_CURRENT_BINARY_DIR}/Foo123ConfigVersion.cmake) @@ -373,6 +371,7 @@ endif() ####################### +include(WriteBasicConfigVersionFile) write_basic_config_version_file(${CMAKE_CURRENT_BINARY_DIR}/Boo123ConfigVersion.cmake VERSION 1.2.3 |