Boost logo

Boost-Commit :

From: troy_at_[hidden]
Date: 2008-05-26 15:30:52


Author: troy
Date: 2008-05-26 15:30:52 EDT (Mon, 26 May 2008)
New Revision: 45785
URL: http://svn.boost.org/trac/boost/changeset/45785

Log:
Bring r45782 to the 1.35.0 branch
Text files modified:
   branches/CMake/Boost_1_35_0/CMakeLists.txt | 21 +++++++++++++++++----
   1 files changed, 17 insertions(+), 4 deletions(-)

Modified: branches/CMake/Boost_1_35_0/CMakeLists.txt
==============================================================================
--- branches/CMake/Boost_1_35_0/CMakeLists.txt (original)
+++ branches/CMake/Boost_1_35_0/CMakeLists.txt 2008-05-26 15:30:52 EDT (Mon, 26 May 2008)
@@ -94,15 +94,27 @@
   set(BOOST_HEADER_DIR
       "include/boost-${BOOST_VERSION_MAJOR}_${BOOST_VERSION_MINOR}")
 endif(BOOST_VERSION_SUBMINOR GREATER 0)
-install(DIRECTORY boost
+install(DIRECTORY boost
         DESTINATION ${BOOST_HEADER_DIR}
         COMPONENT Core
         PATTERN "CVS" EXCLUDE
         REGEX ".svn" EXCLUDE)
-if (NOT TEST_INSTALLED_TREE)
+
+#
+# TDS 20080526: Getting a segfault here even with the ifs. At r45780, with these lines
+# uncommented:
+# 1. cmake the workspace
+# 2. run ccmake and turn OFF BUILD_MULTI_THREADED and BUILD_SHARED
+# 3. 'c' to configure
+# 4. 'g' to generate.... segfault.
+# 5. run rebuild_cache at the command line: no segfault this time.
+#
+# With these lines commented out, step 4 above does not segfault.
+#
+#if (NOT TEST_INSTALLED_TREE)
   # If I don't have if around this, I get a seg fault
- install(EXPORT boost-targets DESTINATION "lib/Boost${BOOST_VERSION}")
-endif (NOT TEST_INSTALLED_TREE)
+# install(EXPORT boost-targets DESTINATION "lib/Boost${BOOST_VERSION}")
+#endif (NOT TEST_INSTALLED_TREE)
 ##########################################################################
 
 
@@ -193,3 +205,4 @@
 endif(WIN32 AND NOT UNIX)
 include(CPack)
 ##########################################################################
+


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk