blob: 439dd11cf753b85a96d28b49115f97f314535bda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bb2b6b3..db2afa9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -154,9 +154,7 @@ if(FFMPEG)
endif(FFMPEG)
# SDL2 Dependency
-if (NOT DEFINED SDL2_INCLUDE_DIRS AND NOT DEFINED SDL2_LIBRARIES)
- find_package(SDL2 CONFIG)
-endif()
+include(/usr/lib32/cmake/SDL2/SDL2Config.cmake)
if (TARGET SDL2::SDL2)
message(STATUS "using TARGET SDL2::SDL2")
target_link_libraries(FAudio PUBLIC SDL2::SDL2)
|