You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With CMake 3.26, calling find_package(dlite) from within a CMakeLists.txt file suddenly stopped working.
PR #510 added a temporary workaround to ensure that the CI/CD tests runs by manually install cmake 3.25.2 from source. This makes the ci_tests.yaml workflow much slower and is only a correct temporary solution if the cause of the problem is a bug in CMake 3.26.
The task of this issue is to determine whether the cause of the problem is a bug in CMake 3.26 (unlikely) or an issue with the way we generate dliteConfig.cmake from cmake/dliteConfig.cmake.in (much more likely). In the latter case - fix the issue!
You should install CMake 3.26 locally when working with this issue.
The text was updated successfully, but these errors were encountered:
# Description
Updated ci_tests to install cmake from pip instead of building from
source
Closes#518
## Type of change
- [x] Bug fix & code cleanup
- [ ] New feature
- [ ] Documentation update
- [ ] Test update
## Checklist for the reviewer
This checklist should be used as a help for the reviewer.
- [ ] Is the change limited to one issue?
- [ ] Does this PR close the issue?
- [ ] Is the code easy to read and understand?
- [ ] Do all new feature have an accompanying new test?
- [ ] Has the documentation been updated as necessary?
With CMake 3.26, calling
find_package(dlite)
from within a CMakeLists.txt file suddenly stopped working.PR #510 added a temporary workaround to ensure that the CI/CD tests runs by manually install cmake 3.25.2 from source. This makes the
ci_tests.yaml
workflow much slower and is only a correct temporary solution if the cause of the problem is a bug in CMake 3.26.The task of this issue is to determine whether the cause of the problem is a bug in CMake 3.26 (unlikely) or an issue with the way we generate
dliteConfig.cmake
fromcmake/dliteConfig.cmake.in
(much more likely). In the latter case - fix the issue!You should install CMake 3.26 locally when working with this issue.
The text was updated successfully, but these errors were encountered: