From 5861db0193094ac98bc0d0e71bc5b8ecc2590125 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 6 Oct 2019 09:14:43 +0800 Subject: Dumb build doesn't need OpenAL. mxe currently only have cmake 3.10 and SMELT builds fine with it. --- smelt/glfw/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'smelt') 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) -- cgit v1.2.3