diff options
Diffstat (limited to 'intern/ghost/CMakeLists.txt')
-rw-r--r-- | intern/ghost/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt index 4a2a12932fe..e8611839aea 100644 --- a/intern/ghost/CMakeLists.txt +++ b/intern/ghost/CMakeLists.txt @@ -142,7 +142,11 @@ if(WITH_HEADLESS OR WITH_GHOST_SDL) list(APPEND INC_SYS ${SDL_INCLUDE_DIR} ) - if(NOT WITH_SDL_DYNLOAD) + if(WITH_SDL_DYNLOAD) + list(APPEND LIB + extern_sdlew + ) + else() list(APPEND LIB ${SDL_LIBRARY} ) |