aedi: do not update SDL_revision.h
This commit is contained in:
parent
98701732af
commit
33fd8218ed
|
@ -458,7 +458,8 @@ class Sdl2Target(CMakeStaticDependencyTarget):
|
|||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://libsdl.org/release/SDL2-2.0.16.tar.gz',
|
||||
'65be9ff6004034b5b2ce9927b5a4db1814930f169c4b2dae0a1e4697075f287b')
|
||||
'65be9ff6004034b5b2ce9927b5a4db1814930f169c4b2dae0a1e4697075f287b',
|
||||
patches='sdl2-no-updaterev')
|
||||
|
||||
FRAMEWORKS = ''
|
||||
LINKER_FLAGS = ''
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -2343,11 +2343,6 @@
|
||||
set(EXTRA_CFLAGS ${_EXTRA_CFLAGS})
|
||||
|
||||
# Compat helpers for the configuration files
|
||||
-if(NOT CMAKE_HOST_WIN32)
|
||||
- # TODO: we need a Windows script, too
|
||||
- execute_process(COMMAND sh ${SDL2_SOURCE_DIR}/build-scripts/updaterev.sh
|
||||
- WORKING_DIRECTORY ${SDL2_BINARY_DIR})
|
||||
-endif()
|
||||
if(NOT WINDOWS OR CYGWIN OR MINGW)
|
||||
|
||||
set(prefix ${CMAKE_INSTALL_PREFIX})
|
Loading…
Reference in New Issue