forked from bartvdbraak/blender
CMake: fix linking with WITH_SDL_DYNLOAD
While this was only needed in 'source/blender/python', add to ghost to avoid problems in the future.
This commit is contained in:
parent
f43c9499bf
commit
276f6840ed
@ -142,7 +142,11 @@ if(WITH_HEADLESS OR WITH_GHOST_SDL)
|
|||||||
list(APPEND INC_SYS
|
list(APPEND INC_SYS
|
||||||
${SDL_INCLUDE_DIR}
|
${SDL_INCLUDE_DIR}
|
||||||
)
|
)
|
||||||
if(NOT WITH_SDL_DYNLOAD)
|
if(WITH_SDL_DYNLOAD)
|
||||||
|
list(APPEND LIB
|
||||||
|
extern_sdlew
|
||||||
|
)
|
||||||
|
else()
|
||||||
list(APPEND LIB
|
list(APPEND LIB
|
||||||
${SDL_LIBRARY}
|
${SDL_LIBRARY}
|
||||||
)
|
)
|
||||||
|
@ -255,7 +255,11 @@ if(WITH_SDL)
|
|||||||
list(APPEND INC_SYS
|
list(APPEND INC_SYS
|
||||||
${SDL_INCLUDE_DIR}
|
${SDL_INCLUDE_DIR}
|
||||||
)
|
)
|
||||||
if(NOT WITH_SDL_DYNLOAD)
|
if(WITH_SDL_DYNLOAD)
|
||||||
|
list(APPEND LIB
|
||||||
|
extern_sdlew
|
||||||
|
)
|
||||||
|
else()
|
||||||
list(APPEND LIB
|
list(APPEND LIB
|
||||||
${SDL_LIBRARY}
|
${SDL_LIBRARY}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user