diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2012-06-21 18:44:15 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2012-06-21 18:44:15 +0400 |
commit | df0bc84439166fb63cb8d432035f83d5e64fbcf4 (patch) | |
tree | 2ac96b0923dd455965cf2b8da051bf8ae263564d | |
parent | 5def0b6c55d13b07bd59863174379110395e1fed (diff) |
Set openjpeg to static. Solves linking issues on recent openjpeg update
-rw-r--r-- | CMakeLists.txt | 1 |
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() |