Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
1,430 additions
and
736 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# - Find TinyXML | ||
# Find the native TinyXML includes and library | ||
# | ||
# TINYXML_FOUND - True if TinyXML found. | ||
# TINYXML_INCLUDE_DIRS - where to find tinyxml.h, etc. | ||
# TINYXML_LIBRARIES - List of libraries when using TinyXML. | ||
# | ||
|
||
find_package(PkgConfig) | ||
if(PKG_CONFIG_FOUND) | ||
pkg_check_modules(PC_TINYXML tinyxml QUIET) | ||
endif() | ||
|
||
find_path(TINYXML_INCLUDE_DIRS NAMES tinyxml.h | ||
PATHS ${PC_TINYXML_INCLUDEDIR} | ||
PATH_SUFFIXES tinyxml) | ||
find_library(TINYXML_LIBRARIES NAMES tinyxml | ||
PATHS ${PC_TINYXML_LIBDIR} | ||
PATH_SUFFIXES tinyxml) | ||
|
||
include("FindPackageHandleStandardArgs") | ||
find_package_handle_standard_args(TinyXML REQUIRED_VARS TINYXML_INCLUDE_DIRS TINYXML_LIBRARIES) | ||
|
||
mark_as_advanced(TINYXML_INCLUDE_DIRS TINYXML_LIBRARIES) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.