Files
opm-core/cmake/Modules/FindTinyXML.cmake
Roland Kaufmann c0c42ec453 Find module for TinyXML
This reuses most of the OPM infrastructure, even if it isn't an OPM
project. Thus it probably have little value outside the OPM family.
2013-02-11 22:37:59 +01:00

38 lines
719 B
CMake

# - Find TinyXML library
#
# Defines the following variables:
# TinyXML_INCLUDE_DIRS Directory of header files
# TinyXML_LIBRARIES Directory of shared object files
# TinyXML_DEFINITIONS Defines that must be set to compile
# Copyright (C) 2012 Uni Research AS
# This code is licensed under The GNU General Public License v3.0
# use the generic find routine
include (OpmPackage)
find_opm_package (
# module name
"TinyXML"
# dependencies
""
# header to search for
"tinyxml.h"
# library to search for
"tinyxml"
# defines to be added to compilations
""
# test program
"#include <tinyxml.h>
int main (void) {
TiXmlDocument doc;
return 0;
}
"
# config variables
"")