summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorbriaguya <70942617+briaguya-ai@users.noreply.github.com>2025-07-18 20:17:29 -0400
committerLywx <kiritodev01@gmail.com>2025-07-18 20:07:51 -0600
commitcb9495ec3f84ed297f0bf1e271b0cc8768091f56 (patch)
treec558a2c0530521f1b76586c2f6a8c1baffd987a6 /CMakeLists.txt
parent1de14c4481d1bb70962d1f670586edd4f8f75a1d (diff)
try a thing
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4c04749c3..1a10c6e97 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -326,6 +326,10 @@ include_directories(${STB_DIR})
set(EXCLUDE_MPQ_SUPPORT TRUE CACHE BOOL "")
add_compile_definitions(EXCLUDE_MPQ_SUPPORT)
+if(CMAKE_SYSTEM_NAME STREQUAL "NintendoSwitch")
+ find_package(SDL2)
+endif()
+
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/src
@@ -427,8 +431,7 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
"Vorbis::vorbisfile"
)
elseif(CMAKE_SYSTEM_NAME STREQUAL "NintendoSwitch")
- message("BLARG")
- find_package(SDL2)
+#/ find_package(SDL2)
set(ADDITIONAL_LIBRARY_DEPENDENCIES
-lglad
SDL2::SDL2