[mingw] fix build issues on debian 12
This commit is contained in:
parent
5ecc011c13
commit
2b84309b10
@ -161,7 +161,12 @@ IF(SDL2TTF_LIBRARY_TEMP)
|
||||
ENDIF(MINGW)
|
||||
|
||||
# Set the final string here so the GUI reflects the final state.
|
||||
SET(SDL2TTF_LIBRARY "${SDL2TTF_LIBRARY_TEMP};${FREETYPE_LIBRARY_TEMP}" CACHE STRING "Where the SDL2TTF Library can be found")
|
||||
if(FREETYPE_LIBRARY_TEMP)
|
||||
SET(SDL2TTF_LIBRARY "${SDL2TTF_LIBRARY_TEMP};${FREETYPE_LIBRARY_TEMP}" CACHE STRING "Where the SDL2TTF Library can be found")
|
||||
else()
|
||||
SET(SDL2TTF_LIBRARY "${SDL2TTF_LIBRARY_TEMP}" CACHE STRING "Where the SDL2TTF Library can be found")
|
||||
endif()
|
||||
|
||||
# Set the temp variable to INTERNAL so it is not seen in the CMake GUI
|
||||
SET(SDL2TTF_LIBRARY_TEMP "${SDL2TTF_LIBRARY_TEMP}" CACHE INTERNAL "")
|
||||
SET(FREETYPE_LIBRARY_TEMP "${FREETYPE_LIBRARY_TEMP}" CACHE INTERNAL "")
|
||||
|
@ -36,6 +36,10 @@
|
||||
#define RPC_S_COOKIE_AUTH_FAILED 0x00000729
|
||||
#endif
|
||||
|
||||
#ifndef ERROR_OPERATION_IN_PROGRESS
|
||||
#define ERROR_OPERATION_IN_PROGRESS 0x00000149
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#ifndef NO_ERROR
|
||||
|
@ -19,6 +19,7 @@ winpr_module_add(wtsapi.c)
|
||||
|
||||
if(WIN32)
|
||||
winpr_module_add(wtsapi_win32.c wtsapi_win32.h)
|
||||
winpr_library_add_private(ntdll)
|
||||
endif()
|
||||
|
||||
if(BUILD_TESTING)
|
||||
|
Loading…
Reference in New Issue
Block a user