We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e9552b commit c6071e6Copy full SHA for c6071e6
1 file changed
cmake/sdl3.cmake
@@ -32,6 +32,10 @@ if(NOT SDL3_FOUND OR NOT SDL3_image_FOUND)
32
)
33
34
FetchContent_MakeAvailable(SDL3)
35
+
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