From 2863b95c613ca9205f2a8b3a69688f229d5f662c Mon Sep 17 00:00:00 2001 From: Vladimir Timofeev Date: Sat, 15 Nov 2014 17:07:46 +0300 Subject: [PATCH] Make FindTinyXML2.cmake use included macroses from same directory, as other our Find*.cmake modules --- cmake/Modules/FindTinyXML2.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/FindTinyXML2.cmake b/cmake/Modules/FindTinyXML2.cmake index 694cf2bbac..e1e8917a9a 100644 --- a/cmake/Modules/FindTinyXML2.cmake +++ b/cmake/Modules/FindTinyXML2.cmake @@ -69,7 +69,7 @@ find_library(TinyXML2_LIBRARY set(TinyXML2_INCLUDE_DIRS "${TinyXML2_INCLUDE_DIR}") set(TinyXML2_LIBRARIES "${TinyXML2_LIBRARY}") -include(FindPackageHandleStandardArgs) +include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) find_package_handle_standard_args(TinyXML2 DEFAULT_MSG TinyXML2_LIBRARIES TinyXML2_INCLUDE_DIRS) mark_as_advanced(TinyXML2_INCLUDE_DIRS TinyXML2_LIBRARIES TinyXML2_LIBRARY)