forked from bartvdbraak/blender
Set openjpeg to static. Solves linking issues on recent openjpeg update
This commit is contained in:
parent
5def0b6c55
commit
df0bc84439
@ -1489,6 +1489,7 @@ if(WITH_IMAGE_OPENJPEG)
|
|||||||
# dealt with above
|
# dealt with above
|
||||||
else()
|
else()
|
||||||
set(OPENJPEG_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/extern/libopenjpeg")
|
set(OPENJPEG_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/extern/libopenjpeg")
|
||||||
|
add_definitions(-DOPJ_STATIC)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user