[build][cmake] Fix definition to use SDL3 (#5175)

* fix definition to use SDL3

* [cmake] fix definition to use SDL3

* [build][cmake] prefer USING_VERSION_SDL3 over PLATFORM_DESKTOP_SDL3

* [build][cmake] when libs are added externally, consumer needs to import them too
This commit is contained in:
Bruno Cabral
2025-09-13 01:19:44 -07:00
committed by GitHub
parent 6cf38b6292
commit bb0c78476c
3 changed files with 9 additions and 2 deletions

View File

@@ -92,6 +92,7 @@ if (BUILD_SHARED_LIBS)
endif ()
target_link_libraries(raylib PRIVATE $<BUILD_INTERFACE:${LIBS_PRIVATE}>)
target_link_libraries(raylib PUBLIC ${LIBS_PUBLIC})
# Sets some compile time definitions for the pre-processor
# If CUSTOMIZE_BUILD option is on you will not use config.h by default