summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2017-06-28 13:23:45 +0200
committerPatrick Steinhardt <ps@pks.im>2017-08-16 07:12:38 +0200
commit9e449e521456227477458999817c85bde00f0a0f (patch)
tree7050fd0a14de4318ae0daeb5d90b24ea8883f592 /deps
parent432485001593d25c6900acbd17f089e056ce91d2 (diff)
downloadlibgit2-9e449e521456227477458999817c85bde00f0a0f.tar.gz
cmake: move regex build instructions into subdirectory
Extract code required to build the regex library into its own CMakeLists.txt, which is included as required.
Diffstat (limited to 'deps')
-rw-r--r--deps/regex/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/regex/CMakeLists.txt b/deps/regex/CMakeLists.txt
new file mode 100644
index 000000000..6ef8a270f
--- /dev/null
+++ b/deps/regex/CMakeLists.txt
@@ -0,0 +1,2 @@
+INCLUDE_DIRECTORIES(".")
+ADD_LIBRARY(regex STATIC "regex.c" "regex.h")