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

Make sure to use the correct project name for downstream users #70

Merged
merged 1 commit into from
Jul 27, 2024

Conversation

tmadlener
Copy link
Contributor

It looks like k4Gen was left there by accident. This fixes the following warning that you otherwise get when consuming k4SimGeant4 via find_package

CMake Warning (dev) at /home/tmadlener/work/.spack/spackages/cmake/3.27.9/skylake-ubuntu22.04-gcc12.3.0/ye3nv36/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (k4Gen) does
  not match the name of the calling package (k4SimGeant4).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /home/tmadlener/work/.spack/spackages/k4simgeant4/main/skylake-ubuntu22.04-gcc12.3.0/dcytmfc/lib/cmake/k4SimGeant4/k4SimGeant4Config.cmake:11 (find_package_handle_standard_args)
  CMakeLists.txt:35 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found k4Gen: /home/tmadlener/work/.spack/spackages/k4simgeant4/main/skylake-ubuntu22.04-gcc12.3.0/dcytmfc/lib/cmake/k4SimGeant4/k4SimGeant4Config.cmake  

@BrieucF BrieucF merged commit e570489 into HEP-FCC:main Jul 27, 2024
2 of 6 checks passed
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.

3 participants