This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Regression with lib


Hi there,

I would like to report a few quirks that appeared with the
1.50.0-1 update of libboost-devel.

Regression with CMake
=====================

Take this CMakeLists.txt:

    cmake_minimum_required( VERSION 2.8.9 )
    project( boost-regression )

    set( Boost_USE_STATIC_LIBS ON )
    set( Boost_USE_MULTITHREADED ON )
    set( Boost_USE_STATIC_RUNTIME OFF )
    find_package( Boost COMPONENTS system )

This is straight from the documentation of FindBoost.cmake, and
works fine with libboost-devel-1.48.0-1.

This does NOT work anymore with 1.50.0-1. The workaround is simple,
setting Boost_USE_STATIC_LIBS to OFF makes it work again. But, while
I am not a specialist for either Boost or CMake, I would expect that
a) example code works, and b) libboost-devel updates don't silently
break things like this.

Package Dependency
==================

While hunting for the reason of the above regression, I tried to
uninstall / reinstall cmake and libboost[-devel], to rule out a
damaged installation on my side.

When I tried to reinstall the previous libboost-devel-1.48.0-1, I
was somewhat surprised to find that libboost-devel-1.48.0-1 depends
on libboost1.50 - not libboost1.48 as I would expect...?!?

Regards,
--
Martin Baute
solar@rootdirectory.de

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]