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

CMakeLists.txt: Use CUDAToolkit instead of CUDA (deprecated) in find_… #140

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Dec 15, 2023

  1. CMakeLists.txt: Use CUDAToolkit instead of CUDA (deprecated) in find_…

    …package
    
    Fixes,
    
    ```
    CMake Warning (dev) at third_party/fast_gicp/CMakeLists.txt:36 (find_package):
      Policy CMP0146 is not set: The FindCUDA module is removed.  Run "cmake
      --help-policy CMP0146" for policy details.  Use the cmake_policy command to
      set the policy and suppress this warning.
    
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Error at .toolchain/c97040d85c983530acbe2e02c2327d0db40f6e7acb4dd8cbc280076c92c33ccf/sysroot/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
      Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_INCLUDE_DIRS
      CUDA_CUDART_LIBRARY) (found version "11.8")
    Call Stack (most recent call first):
      .toolchain/c97040d85c983530acbe2e02c2327d0db40f6e7acb4dd8cbc280076c92c33ccf/sysroot/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
      .toolchain/c97040d85c983530acbe2e02c2327d0db40f6e7acb4dd8cbc280076c92c33ccf/sysroot/share/cmake-3.27/Modules/FindCUDA.cmake:1291 (find_package_handle_standard_args)
      third_party/fast_gicp/CMakeLists.txt:36 (find_package)
    ```
    
    Signed-off-by: Aníbal Limón <[email protected]>
    alimon committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    51f662e View commit details
    Browse the repository at this point in the history
  2. MOstly compiling

    neil-glydways committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    a8c4dea View commit details
    Browse the repository at this point in the history