mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-28 18:18:52 +00:00
Adds FindTinyXML.cmake
This commit is contained in:
parent
57b75d2cd1
commit
4d0544e61a
20
cmake/FindTinyXML.cmake
Normal file
20
cmake/FindTinyXML.cmake
Normal file
@ -0,0 +1,20 @@
|
||||
# Try to find TinyXML library
|
||||
|
||||
# Once done this will define
|
||||
# TinyXML_FOUND - System has the all required components.
|
||||
# TinyXML_INCLUDE_DIRS - Include directory necessary for using the required components headers.
|
||||
# TinyXML_LIBRARIES - Link these to use TinyXML.
|
||||
#
|
||||
|
||||
include(LibFindMacros)
|
||||
include(PreprocessorUtils)
|
||||
|
||||
libfind_pkg_detect(TinyXML tinyxml
|
||||
FIND_PATH tinyxml.h
|
||||
FIND_LIBRARY tinyxml
|
||||
)
|
||||
libfind_version_n_header(TinyXML
|
||||
NAMES tinyxml.h
|
||||
CONSTANTS TIXML_MAJOR_VERSION TIXML_MINOR_VERSION TIXML_PATCH_VERSION
|
||||
)
|
||||
libfind_process(TinyXML)
|
Loading…
Reference in New Issue
Block a user