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:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-10-25 10:28:25 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-10-25 10:28:25 +0300
commitd2fe875f8c9d7cbe8edd0bd71dac1a7b16945613 (patch)
treec8e4af3dcb8b343c435e4a454f3194c837a25cc4 /build_files/cmake/platform/platform_unix.cmake
parent10a25b655af60ca097177058be9ee2cfb2bf4597 (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/platform_unix.cmake')
-rw-r--r--build_files/cmake/platform/platform_unix.cmake1
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 "")