gazebosim / gazebosim/gz-rendering

Suppress "missing Optix" cmake warning

Open
#281 3 comments 0 reactions 1 assignee Claimed by @j-rivero View on GitHub
bug
Dominant language
C++
Stars
81
Forks
90
Avg merge
1d 13h
Merged PRs (30d)
10

Description

## Environment
* OS Version: Ubuntu
* Source or binary build?
either

## Description
* Expected behavior: Our CI should be green, warning-free. But since https://github.com/ignitionrobotics/ign-cmake/pull/159 we get warnings for missing dependencies. Since Optix is optional and we don't plan on running CI for it, I think we should disable these warnings.

* Actual behavior: There are [CMake warnings](https://build.osrfoundation.org/job/ignition_rendering-ci-pr_any-ubuntu_auto-amd64/1257/cmake/new/)

## Steps to reproduce

Build `ign-rendering` without Optix installed.

## Output

`-- Cannot build component [optix] - Missing: OptiX`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.