From 0fd11e1e5b7af737456fffba02f2ae9941ad5e57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 13 May 2020 00:26:08 +0200 Subject: [PATCH] CMake: don't declare the WITH_AL_INFO option twice. Like with WITH_GL_INFO, it should be a top-level option and WITH_AUDIO should depend on it, not the other way around. So removing the second occurence, which is a cmake_dependent_option(). --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 01f96de91..edaa876dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -106,9 +106,6 @@ cmake_dependent_option(TARGET_HEADLESS "Build command-line utilities for use on cmake_dependent_option(TARGET_GL "Build libraries with OpenGL interoperability" ON "WITH_GL" OFF) cmake_dependent_option(TARGET_VK "Build libraries with Vulkan interoperability" ON "WITH_VK" OFF) -# Magnum AL Info -cmake_dependent_option(WITH_AL_INFO "Build magnum-al-info utility" OFF "WITH_AUDIO" OFF) - # EGL context and windowless EGL application, available everywhere cmake_dependent_option(WITH_WINDOWLESSEGLAPPLICATION "Build WindowlessEglApplication library" OFF "NOT TARGET_GLES OR TARGET_DESKTOP_GLES OR NOT WITH_GL_INFO;NOT TARGET_HEADLESS" ON) option(WITH_EGLCONTEXT "Build EglContext library" OFF)