aboutsummaryrefslogtreecommitdiff
path: root/src/external
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2016-09-08 19:27:43 +0300
committerOskari Timperi <oskari.timperi@iki.fi>2016-09-08 19:27:43 +0300
commit5145705722c48dde7a2f19b2c1411ae783f600b7 (patch)
tree2f45e24df8ceaab3209cd9ba1e6c52619f36c32f /src/external
parent53056f3e7e84e18b8ebfc4a2ab2f7f1fbe7ae36c (diff)
downloadraylib-5145705722c48dde7a2f19b2c1411ae783f600b7.tar.gz
raylib-5145705722c48dde7a2f19b2c1411ae783f600b7.zip
Make CMake build a bit better
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}
+)