summaryrefslogtreecommitdiffstats
path: root/Modules/FindGTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-01-11 20:52:13 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-01-11 20:52:13 (GMT)
commit764015c2840b1059093e8af86dcbf96e048d2dfa (patch)
tree47e3cb60b5516bb320182fb3a5229985690c853e /Modules/FindGTest.cmake
parentd4ed72e3bb4d3ca85750c21eae21a0273207e0dc (diff)
parentce28737c933a749cbc84c601f3ac9f56e4c832aa (diff)
downloadCMake-764015c2840b1059093e8af86dcbf96e048d2dfa.zip
CMake-764015c2840b1059093e8af86dcbf96e048d2dfa.tar.gz
CMake-764015c2840b1059093e8af86dcbf96e048d2dfa.tar.bz2
Merge topic 'policy-CMP0017'
ce28737 Remove usage of CMAKE_CURRENT_LIST_DIR now that we have CMP0017 7db8db5 Improve documentation and messages for the new CMP0017 db44848 Prefer files from CMAKE_ROOT when including from CMAKE_ROOT 1e69c6f Merge branch 'user-policy-defaults' into policy-CMP0017 65a0a2a Merge branch 'include-command-whitespace' into policy-CMP0017
Diffstat (limited to 'Modules/FindGTest.cmake')
-rw-r--r--Modules/FindGTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindGTest.cmake b/Modules/FindGTest.cmake
index 720591a..ef2852a 100644
--- a/Modules/FindGTest.cmake
+++ b/Modules/FindGTest.cmake
@@ -146,7 +146,7 @@ else()
_gtest_find_library(GTEST_MAIN_LIBRARY_DEBUG gtest_maind)
endif()
-include("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake")
+include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTest DEFAULT_MSG GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
if(GTEST_FOUND)