aboutsummaryrefslogtreecommitdiffstats
path: root/Findmuparser.cmake
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2010-06-12 16:10:15 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2010-06-12 16:10:15 +0000
commit39c79788a5402631c6fee94be7e3911b8e56a830 (patch)
tree6b79342393e11d48b5f7887ea9448e32f9845710 /Findmuparser.cmake
parent27deb30921d49f370684347c81e64e7866c1c92d (diff)
downloadopt-utilities-39c79788a5402631c6fee94be7e3911b8e56a830.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@123 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'Findmuparser.cmake')
-rw-r--r--Findmuparser.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/Findmuparser.cmake b/Findmuparser.cmake
new file mode 100644
index 0000000..7db191d
--- /dev/null
+++ b/Findmuparser.cmake
@@ -0,0 +1,12 @@
+find_path(MP_INCLUDE_DIRS muParser/muParser.h)
+
+message(${MP_INCLUDE_DIRS})
+SET(MP_NAMES ${MP_NAMES} muparser)
+MESSAGE(${MP_NAMES})
+FIND_LIBRARY(MP_LIBRARIES ${MP_NAMES} )
+INCLUDE(FindPackageHandleStandardArgs)
+
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(MP DEFAULT_MSG MP_LIBRARIES MP_INCLUDE_DIRS)
+
+MARK_AS_ADVANCED(MP_INCLUDE_DIRS MP_LIBRARIES)
+