Make FindTinyXML2.cmake use included macroses from same directory, as other our Find*.cmake modules

This commit is contained in:
Vladimir Timofeev 2014-11-15 17:07:46 +03:00
parent 27ef26270c
commit 2863b95c61
1 changed files with 1 additions and 1 deletions

View File

@ -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)