Re: [Boost-bugs] [Boost C++ Libraries] #2965: BoostTesting.cmake uses an incorrect variable and causes build to fail when used as a subdirectory

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2965: BoostTesting.cmake uses an incorrect variable and causes build to fail when used as a subdirectory
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-21 02:59:00


#2965: BoostTesting.cmake uses an incorrect variable and causes build to fail when
used as a subdirectory
----------------------------------+-----------------------------------------
  Reporter: steve@… | Owner: dgregor
      Type: Bugs | Status: closed
 Milestone: Boost 1.39.0 | Component: CMake
   Version: Boost 1.38.0 | Severity: Problem
Resolution: fixed | Keywords: Build
----------------------------------+-----------------------------------------
Changes (by troy):

  * status: new => closed
  * resolution: => fixed

Comment:

 Thanks very much for the report, this will be fixed in 1.41.0.cmake1. I
 hadn't imagined that anybody would do this, but it works well. Given
 boost.cmake in a subdirectory 'boost_src':
 {{{
 add_subdirectory(boost_src)
 include_directories(boost_src)
 add_executable(myexe main.cpp)
 target_link_libraries(myexe boost_thread-mt-shared)
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2965#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC