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:
authorAntony Riakiotakis <kalast@gmail.com>2012-06-21 18:44:15 +0400
committerAntony Riakiotakis <kalast@gmail.com>2012-06-21 18:44:15 +0400
commitdf0bc84439166fb63cb8d432035f83d5e64fbcf4 (patch)
tree2ac96b0923dd455965cf2b8da051bf8ae263564d /CMakeLists.txt
parent5def0b6c55d13b07bd59863174379110395e1fed (diff)
Set openjpeg to static. Solves linking issues on recent openjpeg update
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5b70110947b..824ccc72244 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1489,6 +1489,7 @@ if(WITH_IMAGE_OPENJPEG)
# dealt with above
else()
set(OPENJPEG_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/extern/libopenjpeg")
+ add_definitions(-DOPJ_STATIC)
endif()
endif()