78cb68b
diff -up cminpack-1.1.3/cmake/cminpack_utils.cmake.64bit cminpack-1.1.3/cmake/cminpack_utils.cmake
78cb68b
--- cminpack-1.1.3/cmake/cminpack_utils.cmake.64bit	2011-10-25 16:20:16.000000000 +0200
78cb68b
+++ cminpack-1.1.3/cmake/cminpack_utils.cmake	2011-10-25 16:20:41.000000000 +0200
78cb68b
@@ -5,13 +5,8 @@ macro(GET_OS_INFO)
78cb68b
         set(OS_WIN TRUE)
78cb68b
     endif(WIN32)
78cb68b
 
78cb68b
-    set(CMINPACK_LIB_INSTALL_DIR "lib")
78cb68b
+    set(CMINPACK_LIB_INSTALL_DIR "lib${LIB_SUFFIX}")
78cb68b
     if(OS_LINUX)
78cb68b
-        if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
78cb68b
-            set(CMINPACK_LIB_INSTALL_DIR "lib64")
78cb68b
-        else(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
78cb68b
-            set(CMINPACK_LIB_INSTALL_DIR "lib")
78cb68b
-        endif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
78cb68b
         message (STATUS "Operating system is Linux")
78cb68b
     elseif(OS_BSD)
78cb68b
         message (STATUS "Operating system is BSD")