Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-12-08 12:47:32 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-12-08 12:48:11 +0300
commit276f6840eddd5e14958b66b9b0c5440eb59de523 (patch)
tree2726091a20085619b3573e2e62fc874db5878878 /intern
parentf43c9499bfccbfaf7add1d57407150b1871c2f66 (diff)
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.
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/CMakeLists.txt6
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}
)