mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
cmake: set SYSTEM property in SDL3Config.cmake for compatibility with older CMake versions
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user