CMake: don't link sdlew when WITH_SDL=OFF
This caused a build error building Blender as a Python module with !125556 applied.
This commit is contained in:
@@ -28,10 +28,12 @@ if(NOT WITH_SYSTEM_AUDASPACE)
|
||||
list(APPEND LIB
|
||||
audaspace
|
||||
)
|
||||
if(WITH_SDL_DYNLOAD)
|
||||
list(APPEND LIB
|
||||
extern_sdlew
|
||||
)
|
||||
if(WITH_SDL)
|
||||
if(WITH_SDL_DYNLOAD)
|
||||
list(APPEND LIB
|
||||
extern_sdlew
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
else()
|
||||
list(APPEND LIB
|
||||
|
||||
Reference in New Issue
Block a user