We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6071e6 commit 95e191bCopy full SHA for 95e191b
1 file changed
cmake/sdl3.cmake
@@ -23,6 +23,7 @@ if(NOT SDL3_FOUND OR NOT SDL3_image_FOUND)
23
SDL3
24
URL https://github.com/libsdl-org/SDL/releases/download/release-3.4.2/SDL3-3.4.2.tar.gz
25
URL_HASH SHA256=ef39a2e3f9a8a78296c40da701967dd1b0d0d6e267e483863ce70f8a03b4050c
26
+ OVERRIDE_FIND_PACKAGE
27
)
28
29
FetchContent_Declare(
@@ -32,10 +33,6 @@ if(NOT SDL3_FOUND OR NOT SDL3_image_FOUND)
32
33
34
35
FetchContent_MakeAvailable(SDL3)
-
36
- # Ensure SDL3_image can find the SDL3 we just built
37
- set(SDL3_DIR "${sdl3_BINARY_DIR}" CACHE PATH "Path to SDL3 build" FORCE)
38
39
FetchContent_MakeAvailable(SDL3_image)
40
endif()
41
0 commit comments