Add linux prebuild stuff
This commit is contained in:
@@ -51,7 +51,7 @@ endmacro()
|
||||
if(_sdl3_framework)
|
||||
set(SDL3_SDL3-static_FOUND TRUE)
|
||||
find_sdl3_static_dependencies()
|
||||
find_package(SDL3-static CONFIG QUIET)
|
||||
find_package(SDL3-static CONFIG)
|
||||
if(SDL3_SDL3-static_FOUND AND SDL3-static_FOUND)
|
||||
set(SDL3_SDL3-static_FOUND TRUE)
|
||||
endif()
|
||||
@@ -79,7 +79,7 @@ endif()
|
||||
|
||||
# Find SDL3::SDL3_test
|
||||
if(_sdl3_framework)
|
||||
find_package(SDL3_test CONFIG QUIET)
|
||||
find_package(SDL3_test CONFIG)
|
||||
if(SDL3_test_FOUND)
|
||||
enable_language(OBJC)
|
||||
set(SDL3_SDL3_test_FOUND TRUE)
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version.
|
||||
# The variable CVF_VERSION must be set before calling configure_file().
|
||||
|
||||
set(PACKAGE_VERSION "3.5.0")
|
||||
set(PACKAGE_VERSION "3.2.10")
|
||||
|
||||
if (PACKAGE_FIND_VERSION_RANGE)
|
||||
# Package version must be in the requested version range
|
||||
|
||||
@@ -61,11 +61,10 @@ add_library(SDL3::SDL3-static STATIC IMPORTED)
|
||||
set_target_properties(SDL3::SDL3-static PROPERTIES
|
||||
COMPATIBLE_INTERFACE_BOOL "SDL3_SHARED"
|
||||
COMPATIBLE_INTERFACE_STRING "SDL_VERSION"
|
||||
INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:m>;\$<LINK_ONLY:dl>;SDL3::Headers"
|
||||
INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:m>;SDL3::Headers"
|
||||
INTERFACE_LINK_OPTIONS "-pthread"
|
||||
INTERFACE_SDL3_SHARED "FALSE"
|
||||
INTERFACE_SDL_VERSION "SDL3"
|
||||
SDL_FULL_VERSION "3.5.0"
|
||||
)
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 2.8.12)
|
||||
|
||||
Reference in New Issue
Block a user