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

Print found Boost version during configuration #1216

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aprokop
Copy link
Contributor

@aprokop aprokop commented Feb 14, 2025

No description provided.

@aprokop aprokop added enhancement New feature or request build Build and installation labels Feb 14, 2025
@aprokop
Copy link
Contributor Author

aprokop commented Feb 14, 2025

Hmm, some Boost versions already print it out. Probably need to guard behind versioning.

-- Found Boost: /opt/boost/lib/cmake/Boost-1.75.0/BoostConfig.cmake (found suitable version "1.75.0", minimum required is "1.67.0") found components: unit_test_framework 
-- Found Boost: /opt/boost/lib/cmake/Boost-1.75.0 (version "1.75.0")
-- Found Boost: /opt/boost/lib/cmake/Boost-1.75.0/BoostConfig.cmake (found version "1.75.0") found components: program_options 
-- Found Boost: /opt/boost/lib/cmake/Boost-1.75.0/BoostConfig.cmake (found suitable version "1.75.0", minimum required is "1.56.0") found components: program_options 

On my Mac, however, Boost only prints out

-- Found Boost: /opt/homebrew/lib/cmake/Boost-1.87.0 (version "1.87.0")

@Rombur
Copy link
Collaborator

Rombur commented Feb 14, 2025

Is the difference due to the change in how the newer CMake treat Boost?

@aprokop
Copy link
Contributor Author

aprokop commented Feb 14, 2025

Is the difference due to the change in how the newer CMake treat Boost?

I'm not sure yet. Possibly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build and installation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants