shithub: choc

Download patch

ref: ff3a9a5f3822d54c95e0534195c9155f8e46f229
parent: 59e55e2780b4aa8ac802520f1c2e84cdac42daca
author: Michael Day <43701387+mikeday0@users.noreply.github.com>
date: Mon Aug 22 05:33:42 EDT 2022

Fix cmake typo: mixer -> MIXER (#1494)


--- a/opl/CMakeLists.txt
+++ b/opl/CMakeLists.txt
@@ -13,6 +13,6 @@
                            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()
--- a/pcsound/CMakeLists.txt
+++ b/pcsound/CMakeLists.txt
@@ -9,6 +9,6 @@
                            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()
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -223,7 +223,7 @@
 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)
--- a/src/doom/CMakeLists.txt
+++ b/src/doom/CMakeLists.txt
@@ -69,7 +69,7 @@
 
 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)
--- a/src/heretic/CMakeLists.txt
+++ b/src/heretic/CMakeLists.txt
@@ -55,7 +55,7 @@
 
 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)
--- a/src/hexen/CMakeLists.txt
+++ b/src/hexen/CMakeLists.txt
@@ -56,7 +56,7 @@
 
 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)
--- a/src/setup/CMakeLists.txt
+++ b/src/setup/CMakeLists.txt
@@ -16,6 +16,6 @@
 
 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()
--- a/src/strife/CMakeLists.txt
+++ b/src/strife/CMakeLists.txt
@@ -71,7 +71,7 @@
 
 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)