Giter VIP home page Giter VIP logo

Comments (5)

snikulov avatar snikulov commented on July 28, 2024

@Anticom can be Xenial has bumped version from 1.0.4 to 1.1.2, so it's possible.
Will check it later.
Also you can try change set(Log4Cplus_USE_STATIC_LIBS 1) to set(Log4Cplus_USE_STATIC_LIBS 0) in pion's CMakeLists.txt here https://github.com/splunk/pion/blob/develop/CMakeLists.txt#L119
It also can help you.

from pion.

Anticom avatar Anticom commented on July 28, 2024

@snikulov Indeed the version on my machine is 1.1.2. However I've looked at your FindLog4cplus.cmake and i don't see how this module is breaking anything on my machine. However Log4Cplus_USE_STATIC_LIBS being set to 1 by default looks like causing the issue for me.

Shouldn't find_path handle this on its own? Either way IMO it should be an option so the user has control over it.

from pion.

snikulov avatar snikulov commented on July 28, 2024

Shouldn't find_path handle this on its own? - Nop.
It specific for library authors. One adds S prefix, other add -static. No unified way.

Just remove Log4Cplus_USE_STATIC_LIBS at all from pion's CMakeLists.txt .
Then module will search dynamic by default, unless you explicitly not set it using -D

from pion.

Anticom avatar Anticom commented on July 28, 2024

Since we're building pion using Yocto i'd have to create a patch for this which would be unfortunate for such a trivial change. Is there any reason to not make it an option - besides eventually breaking working builds that use a static version of log4cplus - ?

If this is your only concern I'd vote for this "breaking" change.

from pion.

snikulov avatar snikulov commented on July 28, 2024

I think it is smaller then add option and use this option later.
Just remove one line and you'll give this option for user.

from pion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.