mirror of https://github.com/axmolengine/axmol.git
Make FindTinyXML2.cmake use included macroses from same directory, as other our Find*.cmake modules
This commit is contained in:
parent
27ef26270c
commit
2863b95c61
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue