aboutsummaryrefslogtreecommitdiff
path: root/src/external
diff options
context:
space:
mode:
Diffstat (limited to 'src/external')
-rw-r--r--src/external/CMakeLists.txt1
-rw-r--r--src/external/glfw3/CMakeLists.txt9
2 files changed, 10 insertions, 0 deletions
diff --git a/src/external/CMakeLists.txt b/src/external/CMakeLists.txt
new file mode 100644
index 00000000..1954053f
--- /dev/null
+++ b/src/external/CMakeLists.txt
@@ -0,0 +1 @@
+ADD_SUBDIRECTORY(glfw3)
diff --git a/src/external/glfw3/CMakeLists.txt b/src/external/glfw3/CMakeLists.txt
new file mode 100644
index 00000000..9222b20d
--- /dev/null
+++ b/src/external/glfw3/CMakeLists.txt
@@ -0,0 +1,9 @@
+INCLUDE(ExternalProject)
+
+ExternalProject_Add(glfw3
+ GIT_REPOSITORY https://github.com/glfw/glfw.git
+ GIT_TAG 3.2.1
+ CMAKE_ARGS -DGLFW_BUILD_EXAMPLES=OFF -DGLFW_BUILD_TESTS=OFF
+ -DGLFW_BUILD_DOCS=OFF
+ -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}
+)