Skip to content

Conversation

@albertmena
Copy link
Collaborator

@albertmena albertmena commented May 27, 2025

Setting compiler gcc 10.3 appears this error:

-- Configuring done
CMake Error at src/xmipp/CMakeLists.txt:245 (target_link_libraries):
  Target "XmippCuda" links to:

    CUDA::nvml

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

To fix it I propose this PR

@sonarqubecloud
Copy link

@albertmena albertmena changed the title Update CMakeLists.txt Update CMakeLists: CUDA::nvml error May 27, 2025
@oierlauzi
Copy link
Collaborator

In what CUDA version does this error occur?

@oierlauzi
Copy link
Collaborator

We should keep away from doing manual discovery of dependencies

@albertmena albertmena closed this Jun 10, 2025
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