Commit eb3e327c authored by Vitaliy Tomin's avatar Vitaliy Tomin

cmake: use CMAKE_INSTALL_LIBDIR to detect correct libdir

parent 53af1ea5
......@@ -72,7 +72,8 @@ if(WIN32)
set_target_properties(lima${NAME} PROPERTIES PREFIX "lib")
install(TARGETS lima${NAME} DESTINATION lib)
else()
install(TARGETS lima${NAME} LIBRARY DESTINATION lib)
include(GNUInstallDirs)
install(TARGETS lima${NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
endif()
if(LIMA_ENABLE_PYTHON)
......
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