Merge pull request #9 from ivaxer/lib-suffix

Append LIB_SUFFIX to LIBRARY_INSTALL_DIR.
This commit is contained in:
Andreas Schuh 2014-05-01 19:40:03 +01:00
commit 44d1d163cc

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}")