From 27d4d5e4b90368e469007c5724945423de02b76d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 16 Jun 2011 16:00:33 +0000 Subject: [PATCH] From John Cummings, "While testing recent OSG developer releases and the subversion trunk, I have noticed that on my 64-bit Linux machines, all of the OSG libraries get installed into the "lib64" directory as I would expect. However, the OpenThreads library gets installed into the "lib" directory when selecting "Build OpenThreads with Qt threading support." That is, with the BUILD_OPENTHREADS_WITH_QT set to ON. I am attaching the a fix for this issue in the file: src/OpenThreads/qt/CMakeLists.txt It simply adds ${LIB_POSTFIX} to the destination as in done with all other CMakeLists.txt with libraries in OSG. I have tested it on both 32-bit and 64-bit Linux." --- src/OpenThreads/qt/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenThreads/qt/CMakeLists.txt b/src/OpenThreads/qt/CMakeLists.txt index 2f006c58d..7352475fe 100644 --- a/src/OpenThreads/qt/CMakeLists.txt +++ b/src/OpenThreads/qt/CMakeLists.txt @@ -55,8 +55,8 @@ ENDIF() INSTALL( TARGETS OpenThreads - ARCHIVE DESTINATION lib COMPONENT libopenthreads-dev - LIBRARY DESTINATION lib COMPONENT libopenthreads + ARCHIVE DESTINATION lib${LIB_POSTFIX} COMPONENT libopenthreads-dev + LIBRARY DESTINATION lib${LIB_POSTFIX} COMPONENT libopenthreads RUNTIME DESTINATION bin COMPONENT libopenthreads ) INSTALL(