Fix possible compilation error with OIIO enabled
OIIO library has plugin API which uses dlopen()/dlclose() so need to link OIO libraries against dl library.
This commit is contained in:
parent
10a25b655a
commit
d2fe875f8c
|
@ -298,6 +298,7 @@ if(WITH_OPENIMAGEIO)
|
|||
${JPEG_LIBRARIES}
|
||||
${ZLIB_LIBRARIES}
|
||||
${BOOST_LIBRARIES}
|
||||
${CMAKE_DL_LIBS}
|
||||
)
|
||||
set(OPENIMAGEIO_LIBPATH) # TODO, remove and reference the absolute path everywhere
|
||||
set(OPENIMAGEIO_DEFINITIONS "")
|
||||
|
|
Loading…
Reference in New Issue