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

[conan] Support Conan 2.x and fix GTest linkage #9

Merged
merged 1 commit into from
Nov 19, 2023

Conversation

uilianries
Copy link
Contributor

With Conan 2.x, many things from the past are now outdated.

The old cmake generator is now replaced by CMakeToolchain and CMakeDeps generators. Info: https://docs.conan.io/2/whatsnew.html#new-build-system-integrations

Packaging the recipe here is no longer needed, as its available in the official Conan Center: https://conan.io/center/recipes/libsolace

The gtest usage needs some extra points to work, like finding its cmake target and adding its library to the test executable. The version 1.12.1 is not newest, but it is the last version that does not require C++14.

Signed-off-by: Uilian Ries <[email protected]>
@abbyssoul abbyssoul merged commit e2c58ad into abbyssoul:master Nov 19, 2023
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.

2 participants