cmake: append LIB_SUFFIX to LIBRARY_INSTALL_DIR

This commit is contained in:
John Khvatov 2014-05-01 00:57:04 +04:00
parent dc2b2c7fec
commit 55490439d0

View file

@ -280,9 +280,9 @@ if (OS_WINDOWS)
set (CONFIG_INSTALL_DIR CMake)
else ()
set (RUNTIME_INSTALL_DIR bin)
set (LIBRARY_INSTALL_DIR lib)
set (LIBRARY_INSTALL_DIR lib${LIB_SUFFIX})
set (INCLUDE_INSTALL_DIR include)
set (CONFIG_INSTALL_DIR lib/cmake/${PACKAGE_NAME})
set (CONFIG_INSTALL_DIR lib${LIB_SUFFIX}/cmake/${PACKAGE_NAME})
endif ()
file (RELATIVE_PATH INSTALL_PREFIX_REL2CONFIG_DIR "${CMAKE_INSTALL_PREFIX}/${CONFIG_INSTALL_DIR}" "${CMAKE_INSTALL_PREFIX}")