Commit 55490439 authored by John Khvatov's avatar John Khvatov

cmake: append LIB_SUFFIX to LIBRARY_INSTALL_DIR

parent dc2b2c7f
...@@ -280,9 +280,9 @@ if (OS_WINDOWS) ...@@ -280,9 +280,9 @@ if (OS_WINDOWS)
set (CONFIG_INSTALL_DIR CMake) set (CONFIG_INSTALL_DIR CMake)
else () else ()
set (RUNTIME_INSTALL_DIR bin) set (RUNTIME_INSTALL_DIR bin)
set (LIBRARY_INSTALL_DIR lib) set (LIBRARY_INSTALL_DIR lib${LIB_SUFFIX})
set (INCLUDE_INSTALL_DIR include) set (INCLUDE_INSTALL_DIR include)
set (CONFIG_INSTALL_DIR lib/cmake/${PACKAGE_NAME}) set (CONFIG_INSTALL_DIR lib${LIB_SUFFIX}/cmake/${PACKAGE_NAME})
endif () endif ()
file (RELATIVE_PATH INSTALL_PREFIX_REL2CONFIG_DIR "${CMAKE_INSTALL_PREFIX}/${CONFIG_INSTALL_DIR}" "${CMAKE_INSTALL_PREFIX}") file (RELATIVE_PATH INSTALL_PREFIX_REL2CONFIG_DIR "${CMAKE_INSTALL_PREFIX}/${CONFIG_INSTALL_DIR}" "${CMAKE_INSTALL_PREFIX}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment