build_environment: force a consistent libdir across Linux distributions.
[blender.git] / build_files / build_environment / cmake / options.cmake
index 7bf971208ae5ab16794325f8d51b7dc43fe4a83d..f3125551972b822ca214c784a2528da47cac9586 100644 (file)
@@ -143,7 +143,7 @@ else()
                set(PLATFORM_CXXFLAGS "-std=c++11 -fPIC")
                set(PLATFORM_LDFLAGS)
                set(PLATFORM_BUILD_TARGET)
-               set(PLATFORM_CMAKE_FLAGS)
+               set(PLATFORM_CMAKE_FLAGS -DCMAKE_INSTALL_LIBDIR=lib)
        endif()
 
        if(WITH_OPTIMIZED_DEBUG)