aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--smelt/glfw/CMakeLists.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6b54346..1aa8984 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,6 @@
project (smelt)
-cmake_minimum_required(VERSION 3.11)
+cmake_minimum_required(VERSION 3.10)
option (BUILD_DUMB "Disable sound support" OFF)
option (BUILD_EXTENSIONS "Build extensions" ON)
diff --git a/smelt/glfw/CMakeLists.txt b/smelt/glfw/CMakeLists.txt
index 10a4120..d75044a 100644
--- a/smelt/glfw/CMakeLists.txt
+++ b/smelt/glfw/CMakeLists.txt
@@ -3,7 +3,9 @@ option (USE_CXIMAGE "Use CxImage instead of DevIL" OFF)
find_package(glfw3 REQUIRED)
find_package(GLEW REQUIRED)
+if (NOT BUILD_DUMB)
find_package(OpenAL REQUIRED)
+endif ()
if (NOT USE_CXIMAGE)
find_package(DevIL REQUIRED)