summaryrefslogtreecommitdiffstats
path: root/web/server/h2o/libh2o/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'web/server/h2o/libh2o/cmake')
-rw-r--r--web/server/h2o/libh2o/cmake/FindLibUV.cmake5
-rw-r--r--web/server/h2o/libh2o/cmake/FindLibYAML.cmake5
-rw-r--r--web/server/h2o/libh2o/cmake/FindMruby.cmake5
-rw-r--r--web/server/h2o/libh2o/cmake/FindWslay.cmake5
4 files changed, 20 insertions, 0 deletions
diff --git a/web/server/h2o/libh2o/cmake/FindLibUV.cmake b/web/server/h2o/libh2o/cmake/FindLibUV.cmake
new file mode 100644
index 000000000..253a5e7e9
--- /dev/null
+++ b/web/server/h2o/libh2o/cmake/FindLibUV.cmake
@@ -0,0 +1,5 @@
+FIND_PATH(LIBUV_INCLUDE_DIR NAMES uv.h)
+FIND_LIBRARY(LIBUV_LIBRARIES NAMES uv libuv)
+
+INCLUDE(FindPackageHandleStandardArgs)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(LIBUV DEFAULT_MSG LIBUV_LIBRARIES LIBUV_INCLUDE_DIR)
diff --git a/web/server/h2o/libh2o/cmake/FindLibYAML.cmake b/web/server/h2o/libh2o/cmake/FindLibYAML.cmake
new file mode 100644
index 000000000..0249fd797
--- /dev/null
+++ b/web/server/h2o/libh2o/cmake/FindLibYAML.cmake
@@ -0,0 +1,5 @@
+FIND_PATH(LIBYAML_INCLUDE_DIR NAMES yaml.h)
+FIND_LIBRARY(LIBYAML_LIBRARIES NAMES yaml libyaml)
+
+INCLUDE(FindPackageHandleStandardArgs)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(LIBYAML DEFAULT_MSG LIBYAML_LIBRARIES LIBYAML_INCLUDE_DIR)
diff --git a/web/server/h2o/libh2o/cmake/FindMruby.cmake b/web/server/h2o/libh2o/cmake/FindMruby.cmake
new file mode 100644
index 000000000..dddddb87b
--- /dev/null
+++ b/web/server/h2o/libh2o/cmake/FindMruby.cmake
@@ -0,0 +1,5 @@
+FIND_PATH(MRUBY_INCLUDE_DIR NAMES mruby.h)
+FIND_LIBRARY(MRUBY_LIBRARIES NAMES mruby libmruby)
+
+INCLUDE(FindPackageHandleStandardArgs)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(MRUBY DEFAULT_MSG MRUBY_LIBRARIES MRUBY_INCLUDE_DIR)
diff --git a/web/server/h2o/libh2o/cmake/FindWslay.cmake b/web/server/h2o/libh2o/cmake/FindWslay.cmake
new file mode 100644
index 000000000..4726551c5
--- /dev/null
+++ b/web/server/h2o/libh2o/cmake/FindWslay.cmake
@@ -0,0 +1,5 @@
+FIND_PATH(WSLAY_INCLUDE_DIR NAMES wslay/wslay.h)
+FIND_LIBRARY(WSLAY_LIBRARIES NAMES wslay libwslay libnettle)
+
+INCLUDE(FindPackageHandleStandardArgs)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(WSLAY DEFAULT_MSG WSLAY_LIBRARIES WSLAY_INCLUDE_DIR)