mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-18 02:38:27 +00:00
cmake: rename cmake variables to include _PC_ as they are meant for pkgconfig file
This commit is contained in:
parent
373a6464c8
commit
0a4420e02f
3 changed files with 15 additions and 16 deletions
|
@ -661,7 +661,7 @@ macro(CheckVivante)
|
|||
find_library(VIVANTE_VDK_LIBRARY VDK REQUIRED)
|
||||
list(APPEND EXTRA_LIBS ${VIVANTE_LIBRARY} ${VIVANTE_VDK_LIBRARY})
|
||||
else()
|
||||
list(APPEND SDL_CFLAGS -DLINUX -DEGL_API_FB)
|
||||
list(APPEND SDL_PC_CFLAGS -DLINUX -DEGL_API_FB)
|
||||
list(APPEND EXTRA_LIBS EGL)
|
||||
endif(HAVE_VIVANTE_VDK)
|
||||
endif()
|
||||
|
@ -808,7 +808,7 @@ macro(CheckPTHREAD)
|
|||
set(SDL_THREAD_PTHREAD 1)
|
||||
target_compile_options(sdl-build-options INTERFACE ${PTHREAD_CFLAGS})
|
||||
list(APPEND EXTRA_LDFLAGS ${PTHREAD_LDFLAGS})
|
||||
list(APPEND SDL_CFLAGS ${PTHREAD_CFLAGS})
|
||||
list(APPEND SDL_PC_CFLAGS ${PTHREAD_CFLAGS})
|
||||
|
||||
check_c_source_compiles("
|
||||
#define _GNU_SOURCE 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue