summaryrefslogtreecommitdiff
path: root/cmake/dependencies/libtoml.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/dependencies/libtoml.cmake')
-rw-r--r--cmake/dependencies/libtoml.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/dependencies/libtoml.cmake b/cmake/dependencies/libtoml.cmake
new file mode 100644
index 00000000..3974a1dd
--- /dev/null
+++ b/cmake/dependencies/libtoml.cmake
@@ -0,0 +1,5 @@
+find_library(LIBTOML_LIBRARIES toml QUIET)
+if (LIBTOML_LIBRARIES)
+ find_path(LIBTOML_INCLUDE toml.h)
+ mark_as_advanced(LIBTOML_LIBRARIES LIBTOML_INCLUDE)
+endif ()