summaryrefslogtreecommitdiff
path: root/libs/nanovg/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libs/nanovg/CMakeLists.txt')
-rw-r--r--libs/nanovg/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/nanovg/CMakeLists.txt b/libs/nanovg/CMakeLists.txt
new file mode 100644
index 0000000..8df0e4a
--- /dev/null
+++ b/libs/nanovg/CMakeLists.txt
@@ -0,0 +1,8 @@
+# added by me (sanine) for build compatibility
+# this is not a part of the original nanovg code
+
+cmake_minimum_required(VERSION 3.2)
+project(nanovg)
+
+add_library(nanovg STATIC src/nanovg.c)
+target_include_directories(nanovg PUBLIC src)