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
diff options
context:
space:
mode:
Diffstat (limited to 'extern/libopenjpeg/CMakeLists.txt')
-rw-r--r--extern/libopenjpeg/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/extern/libopenjpeg/CMakeLists.txt b/extern/libopenjpeg/CMakeLists.txt
index fe03db83054..6f5056b341a 100644
--- a/extern/libopenjpeg/CMakeLists.txt
+++ b/extern/libopenjpeg/CMakeLists.txt
@@ -32,6 +32,10 @@ set(INC_SYS
)
+if(WIN32)
+ add_definitions(-DOPJ_STATIC)
+endif()
+
set(SRC
bio.c
cio.c