mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
cmake: set SYSTEM property in SDL3Config.cmake for compatibility with older CMake versions
This commit is contained in:
parent
5f763083fc
commit
63cb541797
2 changed files with 3 additions and 3 deletions
|
|
@ -14,6 +14,9 @@ set(_sdl3_framework @SDL_FRAMEWORK@)
|
|||
# Find SDL3::Headers
|
||||
if(NOT TARGET SDL3::Headers)
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/SDL3headersTargets.cmake")
|
||||
if(NOT CMAKE_VERSION VERSION_LESS "3.25")
|
||||
set_property(TARGET SDL3::Headers PROPERTY SYSTEM 0)
|
||||
endif()
|
||||
endif()
|
||||
set(SDL3_Headers_FOUND TRUE)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue