From: Peter Lemenkov Date: Mon, 24 Sep 2018 15:15:09 +0200 Subject: [PATCH] Use library suffix during installation Signed-off-by: Peter Lemenkov diff --git a/CMakeLists.txt b/CMakeLists.txt index 854aea7f..eb12ab4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,7 +73,7 @@ endif() # install .so, and all the header files -INSTALL ( TARGETS ${ly_lib_shared} LIBRARY DESTINATION lib ) +INSTALL ( TARGETS ${ly_lib_shared} LIBRARY DESTINATION lib${LIB_SUFFIX} ) INSTALL ( DIRECTORY ${PROJECT_SOURCE_DIR}/include/ DESTINATION include ) # create the .deb and .rpm packages using cpack