Use dynamically linked SDL 1.2.15 on windows x64
This commit is contained in:
@@ -1101,10 +1101,7 @@ if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'win64-vc', 'linuxcross'):
|
|||||||
dllsources += ['${BF_PTHREADS_LIBPATH}/${BF_PTHREADS_LIB}.dll']
|
dllsources += ['${BF_PTHREADS_LIBPATH}/${BF_PTHREADS_LIB}.dll']
|
||||||
|
|
||||||
if env['WITH_BF_SDL']:
|
if env['WITH_BF_SDL']:
|
||||||
if env['OURPLATFORM'] == 'win64-vc':
|
dllsources.append('${BF_SDL_LIBPATH}/SDL.dll')
|
||||||
pass # we link statically already to SDL on win64
|
|
||||||
else:
|
|
||||||
dllsources.append('${BF_SDL_LIBPATH}/SDL.dll')
|
|
||||||
|
|
||||||
if env['WITH_BF_PYTHON']:
|
if env['WITH_BF_PYTHON']:
|
||||||
if env['BF_DEBUG']:
|
if env['BF_DEBUG']:
|
||||||
|
@@ -737,12 +737,10 @@ elseif(WIN32)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WITH_SDL)
|
if(WITH_SDL)
|
||||||
if(NOT CMAKE_CL_64)
|
install(
|
||||||
install(
|
FILES ${LIBDIR}/sdl/lib/SDL.dll
|
||||||
FILES ${LIBDIR}/sdl/lib/SDL.dll
|
DESTINATION ${TARGETDIR}
|
||||||
DESTINATION ${TARGETDIR}
|
)
|
||||||
)
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT CMAKE_CL_64)
|
if(NOT CMAKE_CL_64)
|
||||||
|
Reference in New Issue
Block a user