Skip to content

Commit 5549043

Browse files
author
John Khvatov
committed
cmake: append LIB_SUFFIX to LIBRARY_INSTALL_DIR
1 parent dc2b2c7 commit 5549043

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,9 @@ if (OS_WINDOWS)
280280
set (CONFIG_INSTALL_DIR CMake)
281281
else ()
282282
set (RUNTIME_INSTALL_DIR bin)
283-
set (LIBRARY_INSTALL_DIR lib)
283+
set (LIBRARY_INSTALL_DIR lib${LIB_SUFFIX})
284284
set (INCLUDE_INSTALL_DIR include)
285-
set (CONFIG_INSTALL_DIR lib/cmake/${PACKAGE_NAME})
285+
set (CONFIG_INSTALL_DIR lib${LIB_SUFFIX}/cmake/${PACKAGE_NAME})
286286
endif ()
287287

288288
file (RELATIVE_PATH INSTALL_PREFIX_REL2CONFIG_DIR "${CMAKE_INSTALL_PREFIX}/${CONFIG_INSTALL_DIR}" "${CMAKE_INSTALL_PREFIX}")

0 commit comments

Comments
 (0)