aboutsummaryrefslogtreecommitdiff
path: root/smelt/glfw
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-10-06 09:14:43 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-10-06 09:14:43 +0800
commit5861db0193094ac98bc0d0e71bc5b8ecc2590125 (patch)
tree552e910bb757e067910846b4986dbe171bc089c3 /smelt/glfw
parent2836b3d1bdb32765950b8e3133a2452d8e7b98d2 (diff)
downloadSMELT-5861db0193094ac98bc0d0e71bc5b8ecc2590125.tar.xz
Dumb build doesn't need OpenAL.
mxe currently only have cmake 3.10 and SMELT builds fine with it.
Diffstat (limited to 'smelt/glfw')
-rw-r--r--smelt/glfw/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
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)