Add multiarch location to library (From Fedora)
authorGianfranco Costamagna <costamagnagianfranco@yahoo.it>
Thu, 01 Oct 2015 10:59:02 +0200
changeset 11324 ac6715709812
parent 11197 283b6e6cf7ea
child 11325 8f8fadfabbb8
Add multiarch location to library (From Fedora)
cmake_modules/paths.cmake
--- a/cmake_modules/paths.cmake	Fri Sep 25 23:31:16 2015 -0400
+++ b/cmake_modules/paths.cmake	Thu Oct 01 10:59:02 2015 +0200
@@ -15,7 +15,7 @@
 #resource paths
 if(UNIX AND NOT APPLE)
     set(target_binary_install_dir "bin" CACHE PATH "install dest for binaries")
-    set(target_library_install_dir "lib" CACHE PATH "install dest for libs")
+    set(target_library_install_dir "lib${LIB_SUFFIX}" CACHE PATH "install dest for libs")
 
     string(SUBSTRING "${DATA_INSTALL_DIR}" 0 1 sharepath_start)
     if(${sharepath_start} MATCHES "/")