summary refs log tree commit diff stats
path: root/cmake
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2015-03-14 16:13:11 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2015-03-14 16:13:11 -0400
commit44324ba5d6cac01048cc5cbecbff255ee56f2fc0 (patch)
tree63e859067d214bfccf1d75520e1cedece0e91963 /cmake
parent5990e7802c84b3f407de3934a1d75721115d1da7 (diff)
downloadtherapy-44324ba5d6cac01048cc5cbecbff255ee56f2fc0.tar.gz
therapy-44324ba5d6cac01048cc5cbecbff255ee56f2fc0.tar.bz2
therapy-44324ba5d6cac01048cc5cbecbff255ee56f2fc0.zip
Wrote simple factory to read map and entity data from XML files
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindMxml.cmake31
1 files changed, 31 insertions, 0 deletions
diff --git a/cmake/FindMxml.cmake b/cmake/FindMxml.cmake new file mode 100644 index 0000000..49daa4f --- /dev/null +++ b/cmake/FindMxml.cmake
@@ -0,0 +1,31 @@
1# - Try to find Motif (or lesstif)
2# Once done this will define:
3# MXML_FOUND - system has MXML
4# MXML_INCLUDE_DIR - incude paths to use Motif
5# MXML_LIBRARIES - Link these to use Motif
6
7SET(MXML_FOUND 0)
8
9IF(UNIX)
10 FIND_PATH(MXML_INCLUDE_DIR
11 mxml.h
12 /usr/include
13 )
14
15 FIND_LIBRARY(MXML_LIBRARIES
16 mxml
17 /usr/lib
18 )
19
20ENDIF(UNIX)
21
22# handle the QUIETLY and REQUIRED arguments and set MXML_FOUND to TRUE if
23# all listed variables are TRUE
24INCLUDE(FindPackageHandleStandardArgs)
25FIND_PACKAGE_HANDLE_STANDARD_ARGS(MXML DEFAULT_MSG MXML_LIBRARIES MXML_INCLUDE_DIR)
26
27
28MARK_AS_ADVANCED(
29 MXML_INCLUDE_DIR
30 MXML_LIBRARIES
31) \ No newline at end of file