summaryrefslogtreecommitdiffstats
path: root/Modules/FindCxxTest.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/FindCxxTest.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/FindCxxTest.cmake')
-rw-r--r--Modules/FindCxxTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindCxxTest.cmake b/Modules/FindCxxTest.cmake
index 912a157..69104c5 100644
--- a/Modules/FindCxxTest.cmake
+++ b/Modules/FindCxxTest.cmake
@@ -165,7 +165,7 @@ find_program(CXXTEST_PERL_TESTGEN_EXECUTABLE cxxtestgen.pl
PATHS ${CXXTEST_INCLUDE_DIR})
if(PYTHONINTERP_FOUND OR PERL_FOUND)
- include("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake")
+ include(FindPackageHandleStandardArgs)
if(PYTHONINTERP_FOUND AND (CXXTEST_USE_PYTHON OR NOT PERL_FOUND))
set(CXXTEST_TESTGEN_EXECUTABLE ${CXXTEST_PYTHON_TESTGEN_EXECUTABLE})