Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find Poco library using upstream CMake configuration. #120

Closed
wants to merge 2 commits into from

Conversation

nuclearsandwich
Copy link
Member

A bug in the FindPoco module from cmake_modules causes incorrect linking in Debug configurations.

I haven't decided if this is a straw man or not since I'm not sure what we gain or lose by not using the module from cmake_modules.

This is one possible way to resolve #117 but I'd like input from someone like @wjwwood before I decide whether this is a good idea or not.

A bug in the FindPoco module from cmake_modules causes incorrect linking
in Debug configurations.

I haven't decided if this is a straw man or not since I'm not sure what
we gain or lose by not using the module from cmake_modules.
@nuclearsandwich
Copy link
Member Author

CI informs me that this won't be a complete solution as Debian Stretch's libpoco-dev package doesn't contain CMake configuration.

@wjwwood
Copy link
Member

wjwwood commented Feb 15, 2019

+1 to getting rid of stuff in cmake_modules where ever possible, but as you said, we likely created it there to address a specific problem like debian not shipping proper CMake module or config file.

We were using this only for Poco. As of Debian Buster and Ubuntu Bionic
libpoco-dev provides the necessary CMake configuration.
@nuclearsandwich
Copy link
Member Author

While this would be the preferred solution to #117 it won't work for Melodic. I've added a commit that completes this PR so it can be considered in the future once support for Stretch is dropped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

linking tests fails with CMAKE_BUILD_TYPE=Debug
3 participants