# What commands does CMAKE\_REQUIRED\_LINK\_OPTIONS affect exactly?

**URL:** https://discourse.cmake.org/t/what-commands-does-cmake-required-link-options-affect-exactly/15605
**Category:** Usage
**Created:** [April 15, 2026, 11:08am UTC](https://discourse.cmake.org/t/what-commands-does-cmake-required-link-options-affect-exactly/15605 "2026-04-15T11:08:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![nmnobre](https://discourse.cmake.org/user_avatar/discourse.cmake.org/nmnobre/32/5356_2.png) [@nmnobre](https://discourse.cmake.org/u/nmnobre)
#### Post date: [April 15, 2026, 11:08am UTC](https://discourse.cmake.org/t/what-commands-does-cmake-required-link-options-affect-exactly/15605/1 "2026-04-15T11:08:42Z")

</div>

Hi,

The docs make it clear that `CMAKE_REQUIRED_LINK_OPTIONS` affects the `check_...()` commands, but it seems to suggest it also affects `try_compile()`? It certainly does not seem to affect compilation during a `try_run()` though.

Cheers,

-Nuno
