aboutsummaryrefslogtreecommitdiffstats
path: root/Findmuparser.cmake
diff options
context:
space:
mode:
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)
+