diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-10-25 10:28:25 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-10-25 10:28:25 +0300 |
commit | d2fe875f8c9d7cbe8edd0bd71dac1a7b16945613 (patch) | |
tree | c8e4af3dcb8b343c435e4a454f3194c837a25cc4 /build_files/cmake/platform | |
parent | 10a25b655af60ca097177058be9ee2cfb2bf4597 (diff) |
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.
Diffstat (limited to 'build_files/cmake/platform')
-rw-r--r-- | build_files/cmake/platform/platform_unix.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build_files/cmake/platform/platform_unix.cmake b/build_files/cmake/platform/platform_unix.cmake index e33141f8012..62f44cf1739 100644 --- a/build_files/cmake/platform/platform_unix.cmake +++ b/build_files/cmake/platform/platform_unix.cmake @@ -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 "") |