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

Improvements in ThermoFunConfig.cmake.in #63

Merged
merged 2 commits into from
Jun 8, 2023

Conversation

allanleal
Copy link
Contributor

This PR adds find_package calls for the libraries that ThermoFun depends in the ThermoFunConfig.cmake.in module:

find_package(ChemicalFun REQUIRED)
find_package(spdlog CONFIG REQUIRED)

This is needed so that codes depending on ThermoFun will be able to automatically find its dependencies too.

allanleal added 2 commits June 8, 2023 13:33
In this cmake config file, we need to add `find_package` calls for the libraries that ThermoFun depends:

find_package(ChemicalFun REQUIRED)
find_package(spdlog CONFIG REQUIRED)

This is needed so that codes depending on ThermoFun will be able to automatically find its dependencies too.
Copy link
Contributor

@dimitrikulik dimitrikulik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find this improvement in cmake scripts reasonable (to allow Reaktoro and other codes dependent on ThermoFun to automatically also find ChemicalFun and spdlog)

@dimitrikulik
Copy link
Contributor

Merged this Pull Request to create the v0.1.9 package of chemicalfun.

@dimitrikulik dimitrikulik merged commit a9c8e37 into thermohub:master Jun 8, 2023
@allanleal
Copy link
Contributor Author

Thanks, Dmitrii!

@allanleal allanleal deleted the fix-cmake-config branch June 8, 2023 12:21
gdmiron added a commit to gdmiron/thermofun that referenced this pull request Jul 23, 2024
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