Use LIB_SUFFIX to install to lib64 instead of lib (thanks, Cristian!).
authorRyan C. Gordon <icculus@icculus.org>
Thu, 17 Feb 2011 15:02:20 -0500
changeset 1140 079b6bf97b23
parent 1139 861def17a888
child 1142 25880a820248
Use LIB_SUFFIX to install to lib64 instead of lib (thanks, Cristian!).
CMakeLists.txt
--- a/CMakeLists.txt	Fri Feb 11 00:19:22 2011 -0500
+++ b/CMakeLists.txt	Thu Feb 17 15:02:20 2011 -0500
@@ -554,8 +554,8 @@
 
 INSTALL(TARGETS ${PHYSFS_INSTALL_TARGETS}
         RUNTIME DESTINATION bin
-        LIBRARY DESTINATION lib
-        ARCHIVE DESTINATION lib)
+        LIBRARY DESTINATION lib${LIB_SUFFIX}
+        ARCHIVE DESTINATION lib${LIB_SUFFIX})
 INSTALL(FILES src/physfs.h DESTINATION include)
 
 FIND_PACKAGE(Doxygen)