foxygit / doom Log in
commit ff3a9a5f3822d54c95e0534195c9155f8e46f229
Author:     Michael Day <43701387+mikeday0@users.noreply.github.com>
AuthorDate: Mon Aug 22 09:33:42 2022 -0400
Commit:     GitHub <noreply@github.com>
CommitDate: Mon Aug 22 15:33:42 2022 +0200

    Fix cmake typo: mixer -> MIXER (#1494)
---
 opl/CMakeLists.txt         | 2 +-
 pcsound/CMakeLists.txt     | 2 +-
 src/CMakeLists.txt         | 2 +-
 src/doom/CMakeLists.txt    | 2 +-
 src/heretic/CMakeLists.txt | 2 +-
 src/hexen/CMakeLists.txt   | 2 +-
 src/setup/CMakeLists.txt   | 2 +-
 src/strife/CMakeLists.txt  | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/opl/CMakeLists.txt b/opl/CMakeLists.txt
index 151f7617..751ff71a 100644
--- a/opl/CMakeLists.txt
+++ b/opl/CMakeLists.txt
@@ -13,6 +13,6 @@ target_include_directories(opl
                            INTERFACE "."
                            PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/../")
 target_link_libraries(opl SDL2::SDL2)
-if(ENABLE_SDL2_mixer)
+if(ENABLE_SDL2_MIXER)
     target_link_libraries(opl SDL2::mixer)
 endif()
diff --git a/pcsound/CMakeLists.txt b/pcsound/CMakeLists.txt
index 9924263a..4e989a4a 100644
--- a/pcsound/CMakeLists.txt
+++ b/pcsound/CMakeLists.txt
@@ -9,6 +9,6 @@ target_include_directories(pcsound
                            INTERFACE "."
                            PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/../")
 target_link_libraries(pcsound SDL2::SDL2)
-if(ENABLE_SDL2_mixer)
+if(ENABLE_SDL2_MIXER)
     target_link_libraries(pcsound SDL2::mixer)
 endif()
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bbb87764..2902e953 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -223,7 +223,7 @@ endif()
 target_include_directories("${PROGRAM_PREFIX}setup"
                            PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/../")
 target_link_libraries("${PROGRAM_PREFIX}setup" SDL2::SDL2main SDL2::SDL2 setup textscreen)
-if(ENABLE_SDL2_mixer)
+if(ENABLE_SDL2_MIXER)
     target_link_libraries("${PROGRAM_PREFIX}setup" SDL2::mixer)
 endif()
 if(ENABLE_SDL2_NET)
diff --git a/src/doom/CMakeLists.txt b/src/doom/CMakeLists.txt
index 82b114b4..e89325d1 100644
--- a/src/doom/CMakeLists.txt
+++ b/src/doom/CMakeLists.txt
@@ -69,7 +69,7 @@ add_library(doom STATIC

 target_include_directories(doom PRIVATE "../" "${CMAKE_CURRENT_BINARY_DIR}/../../")
 target_link_libraries(doom SDL2::SDL2)
-if(ENABLE_SDL2_mixer)
+if(ENABLE_SDL2_MIXER)
     target_link_libraries(doom SDL2::mixer)
 endif()
 if(ENABLE_SDL2_NET)
diff --git a/src/heretic/CMakeLists.txt b/src/heretic/CMakeLists.txt
index 1ea060bf..a9c8e0e9 100644
--- a/src/heretic/CMakeLists.txt
+++ b/src/heretic/CMakeLists.txt
@@ -55,7 +55,7 @@ add_library(heretic STATIC

 target_include_directories(heretic PRIVATE "../" "${CMAKE_CURRENT_BINARY_DIR}/../../")
 target_link_libraries(heretic textscreen SDL2::SDL2)
-if(ENABLE_SDL2_mixer)
+if(ENABLE_SDL2_MIXER)
     target_link_libraries(heretic SDL2::mixer)
 endif()
 if(ENABLE_SDL2_NET)
diff --git a/src/hexen/CMakeLists.txt b/src/hexen/CMakeLists.txt
index 0dbd170b..59c094da 100644
--- a/src/hexen/CMakeLists.txt
+++ b/src/hexen/CMakeLists.txt
@@ -56,7 +56,7 @@ add_library(hexen STATIC

 target_include_directories(hexen PRIVATE "../" "${CMAKE_CURRENT_BINARY_DIR}/../../")
 target_link_libraries(hexen SDL2::SDL2)
-if(ENABLE_SDL2_mixer)
+if(ENABLE_SDL2_MIXER)
     target_link_libraries(hexen SDL2::mixer)
 endif()
 if(ENABLE_SDL2_NET)
diff --git a/src/setup/CMakeLists.txt b/src/setup/CMakeLists.txt
index 90df2114..1117c78b 100644
--- a/src/setup/CMakeLists.txt
+++ b/src/setup/CMakeLists.txt
@@ -16,6 +16,6 @@ add_library(setup STATIC

 target_include_directories(setup PRIVATE "../" "${CMAKE_CURRENT_BINARY_DIR}/../../")
 target_link_libraries(setup textscreen SDL2::SDL2)
-if(ENABLE_SDL2_mixer)
+if(ENABLE_SDL2_MIXER)
     target_link_libraries(setup SDL2::mixer)
 endif()
diff --git a/src/strife/CMakeLists.txt b/src/strife/CMakeLists.txt
index 37b17ade..8784828b 100644
--- a/src/strife/CMakeLists.txt
+++ b/src/strife/CMakeLists.txt
@@ -71,7 +71,7 @@ add_library(strife STATIC ${STRIFE_SOURCES})

 target_include_directories(strife PRIVATE "../" "../../win32/" "${CMAKE_CURRENT_BINARY_DIR}/../../")
 target_link_libraries(strife textscreen SDL2::SDL2)
-if(ENABLE_SDL2_mixer)
+if(ENABLE_SDL2_MIXER)
     target_link_libraries(strife SDL2::mixer)
 endif()
 if(ENABLE_SDL2_NET)