[Bf-blender-cvs] [d2fe875] master: Fix possible compilation error with OIIO enabled
Sergey Sharybin
noreply at git.blender.org
Tue Oct 25 09:37:16 CEST 2016
Commit: d2fe875f8c9d7cbe8edd0bd71dac1a7b16945613
Author: Sergey Sharybin
Date: Tue Oct 25 09:28:25 2016 +0200
Branches: master
https://developer.blender.org/rBd2fe875f8c9d7cbe8edd0bd71dac1a7b16945613
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.
===================================================================
M build_files/cmake/platform/platform_unix.cmake
===================================================================
diff --git a/build_files/cmake/platform/platform_unix.cmake b/build_files/cmake/platform/platform_unix.cmake
index e33141f..62f44cf 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 "")
More information about the Bf-blender-cvs
mailing list