OpenImageIO/oiio — Issue #185: multilib support for library installation
Author: ssuominengentoo
Created: 2011-10-15 22:24:39+00:00
State: open

small patch to support multilib, like lib64:

--- CMakeLists.txt
+++ CMakeLists.txt
@@ -91,11 +91,11 @@

# Exec Install Locations
set (BINDIR "${CMAKE_INSTALL_PREFIX}/bin")
-set (LIBDIR "${CMAKE_INSTALL_PREFIX}/lib")
+set (LIBDIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}")
set (PYLIBDIR "${CMAKE_INSTALL_PREFIX}/python")
if (EXEC_INSTALL_PREFIX)
set (BINDIR "${EXEC_INSTALL_PREFIX}/bin")
- set (LIBDIR "${EXEC_INSTALL_PREFIX}/lib")
+ set (LIBDIR "${EXEC_INSTALL_PREFIX}/lib${LIB_SUFFIX}")
set (PYLIBDIR "${EXEC_INSTALL_PREFIX}/python")
endif ()