Boost C++ Libraries: Ticket #2189: install rules broken https://svn.boost.org/trac10/ticket/2189 <p> tools/build/CMake/BoostCore.cmake contains </p> <pre class="wiki">... # Install this module's headers install(DIRECTORY include/boost DESTINATION ${BOOST_HEADER_DIR} COMPONENT ${libname}_headers PATTERN "CVS" EXCLUDE PATTERN ".svn" EXCLUDE) ... </pre><p> This leads to something like </p> <pre class="wiki">CMake Error at libs/fusion/cmake_install.cmake:36 (FILE): file INSTALL cannot find file "/home/maik/workspace/boost-cmake/libs/fusion/include/boost" to install </pre><p> since the libs/$COMPONENT/include dirs have been removed from svn. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2189 Trac 1.4.3 Maik Beckmann <Beckmann.Maik <at> googlemail <dot> com> Tue, 12 Aug 2008 17:37:36 GMT <link>https://svn.boost.org/trac10/ticket/2189#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2189#comment:1</guid> <description> <p> I guess what we want is </p> <pre class="wiki"> # Install this module's headers install(DIRECTORY ${Boost_SOURCE_DIR}/boost/${libname} DESTINATION ${BOOST_HEADER_DIR} COMPONENT ${libname}_headers PATTERN "CVS" EXCLUDE PATTERN ".svn" EXCLUDE) </pre><p> Note that ${Boost_SOURCE_DIR} isn't quoted, since cmake generated path variables (i.e. CMAKE_SOURCE_DIR) are escaped proper. </p> <p> Patch is attached. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Maik Beckmann <Beckmann.Maik <at> googlemail <dot> com></dc:creator> <pubDate>Tue, 12 Aug 2008 17:38:32 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/2189 https://svn.boost.org/trac10/ticket/2189 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">BoostCore.cmake.patch</span> </li> </ul> Ticket Maik Beckmann <Beckmann.Maik <at> googlemail <dot> com> Thu, 11 Sep 2008 10:00:38 GMT <link>https://svn.boost.org/trac10/ticket/2189#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2189#comment:2</guid> <description> <p> ping </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Douglas Gregor</dc:creator> <pubDate>Fri, 12 Sep 2008 19:51:27 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2189#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2189#comment:3</guid> <description> <p> I don't think this is the right patch. The header-installation logic here is meant to apply to a "modularized" Boost, where the headers do reside in include/boost. It's true that this will fail with a non-modularized Boost, but this isn't the fix for that: in that case, we shouldn't create ANY install rule for the library, because the install(DIRECTORY) rule for the Boost headers in the top-level CMakeLists.txt will handle it. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Maik Beckmann <Beckmann.Maik <at> googlemail <dot> com></dc:creator> <pubDate>Sat, 13 Sep 2008 07:21:37 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2189#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2189#comment:4</guid> <description> <p> OK. </p> <p> So.. why have the include/boost folders been removed from the svn-repo? Just to make clear that this work has do be done? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Douglas Gregor</dc:creator> <pubDate>Sat, 13 Sep 2008 12:11:50 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2189#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2189#comment:5</guid> <description> <p> If you run "make modularize", CMake will move headers into the appropriate places for a modularized Boost. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Maik Beckmann <Beckmann.Maik <at> googlemail <dot> com></dc:creator> <pubDate>Sat, 13 Sep 2008 13:48:53 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2189#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2189#comment:6</guid> <description> <p> Thank you. So what we really want is to make sure target modularize being done before make install. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>troy d. straszheim</dc:creator> <pubDate>Fri, 20 Nov 2009 23:06:49 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2189#comment:7 https://svn.boost.org/trac10/ticket/2189#comment:7 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> modularization temporarily disabled </p> Ticket