diff options
author | Brad King <brad.king@kitware.com> | 2014-03-05 16:07:58 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-03-05 16:07:58 (GMT) |
commit | 9e6e9140c2baf2afa546fbb3a72fbff31e81f69c (patch) | |
tree | 159c4e2ddc7f2dc929e6d2db0e4cf4a5bfed80b4 /Tests | |
parent | 955dd1a551698aa85b404bcd96b62740caac3160 (diff) | |
parent | 7e187eeacd609c18940aa7cd700b048f72fd5568 (diff) | |
download | CMake-9e6e9140c2baf2afa546fbb3a72fbff31e81f69c.zip CMake-9e6e9140c2baf2afa546fbb3a72fbff31e81f69c.tar.gz CMake-9e6e9140c2baf2afa546fbb3a72fbff31e81f69c.tar.bz2 |
Merge topic 'fix-CMP0017-check'
7e187eea CMP0017: Fix check when including from CMake source tree
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/FindPackageTest/FindLotsOfComponents.cmake | 2 | ||||
-rw-r--r-- | Tests/FindPackageTest/FindSomePackage.cmake | 2 | ||||
-rw-r--r-- | Tests/FindPackageTest/FindUpperCasePackage.cmake | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Tests/FindPackageTest/FindLotsOfComponents.cmake b/Tests/FindPackageTest/FindLotsOfComponents.cmake index 9076d86..5d959c5 100644 --- a/Tests/FindPackageTest/FindLotsOfComponents.cmake +++ b/Tests/FindPackageTest/FindLotsOfComponents.cmake @@ -4,7 +4,7 @@ set(LotsOfComponents_AComp_FOUND TRUE) set(LotsOfComponents_BComp_FOUND FALSE) set(LotsOfComponents_CComp_FOUND TRUE) -include(FindPackageHandleStandardArgs) +include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake) find_package_handle_standard_args(LotsOfComponents REQUIRED_VARS LOC_FOO HANDLE_COMPONENTS) diff --git a/Tests/FindPackageTest/FindSomePackage.cmake b/Tests/FindPackageTest/FindSomePackage.cmake index 83d1d0e..7283d24 100644 --- a/Tests/FindPackageTest/FindSomePackage.cmake +++ b/Tests/FindPackageTest/FindSomePackage.cmake @@ -1,6 +1,6 @@ set(SOP_FOO TRUE) -include(FindPackageHandleStandardArgs) +include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake) find_package_handle_standard_args(SomePackage REQUIRED_VARS SOP_FOO FOUND_VAR SomePackage_FOUND ) diff --git a/Tests/FindPackageTest/FindUpperCasePackage.cmake b/Tests/FindPackageTest/FindUpperCasePackage.cmake index 66c2fea..425d417 100644 --- a/Tests/FindPackageTest/FindUpperCasePackage.cmake +++ b/Tests/FindPackageTest/FindUpperCasePackage.cmake @@ -1,6 +1,6 @@ set(UCP_FOO TRUE) -include(FindPackageHandleStandardArgs) +include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake) find_package_handle_standard_args(UpperCasePackage REQUIRED_VARS UCP_FOO FOUND_VAR UPPERCASEPACKAGE_FOUND ) |