Build Environment: fix alembic, openvdb, ffmpeg, osl build on Linux.
[blender.git] / build_files / build_environment / cmake / blosc.cmake
index b0a0460aa94d9afee9a088857bf393502c497b93..18f258357c9569913c500460c91000be0ee3cb31 100644 (file)
@@ -26,6 +26,7 @@ set(BLOSC_EXTRA_ARGS
        -DPTHREAD_LIBS=${LIBDIR}/pthreads/lib/pthreadVC2.lib
        -DPTHREAD_INCLUDE_DIR=${LIBDIR}/pthreads/inc
        -DDEACTIVATE_SNAPPY=ON
+       -DCMAKE_POSITION_INDEPENDENT_CODE=ON
 )
 
 if(WIN32)