$include_dir="/home/hyper-archives/boost-cmake/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-cmake] [PATCH] Use LIB_SUFFIX, allows installing 64bit libs into /usr/lib64.
From: Ingmar Vanhassel (ingmar_at_[hidden])
Date: 2009-10-24 20:58:58
---
tools/build/CMake/BoostCore.cmake | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Try the following patch.
Use 'cmake -DLIB_SUFFIX=64 .' if you want libraries to be installed to /usr/lib64.
diff --git a/tools/build/CMake/BoostCore.cmake b/tools/build/CMake/BoostCore.cmake
index cfcb1f4..8517029 100644
--- a/tools/build/CMake/BoostCore.cmake
+++ b/tools/build/CMake/BoostCore.cmake
@@ -730,7 +730,7 @@ macro(boost_library_variant LIBNAME)
# Installation of this library variant
string(TOLOWER ${PROJECT_NAME} libname)
- install(TARGETS ${VARIANT_LIBNAME} DESTINATION lib COMPONENT ${LIB_COMPONENT})
+ install(TARGETS ${VARIANT_LIBNAME} DESTINATION lib${LIB_SUFFIX} COMPONENT ${LIB_COMPONENT})
set_property(
TARGET ${VARIANT_LIBNAME}
PROPERTY BOOST_CPACK_COMPONENT
--
1.6.5.1.163.gf46a2