# find\_package doesn't look in default suffixes until enabling a language

**URL:** <https://discourse.cmake.org/t/find-package-doesnt-look-in-default-suffixes-until-enabling-a-language/1198>\
**Category:** Code\
**Created:** [May 12, 2020, 3:47pm UTC](https://discourse.cmake.org/t/find-package-doesnt-look-in-default-suffixes-until-enabling-a-language/1198 "2020-05-12T15:47:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![AndrewGaspar](https://discourse.cmake.org/user_avatar/discourse.cmake.org/andrewgaspar/32/137_2.png) [@AndrewGaspar](https://discourse.cmake.org/u/AndrewGaspar)\
**Post date:** [May 12, 2020, 3:51pm UTC](https://discourse.cmake.org/t/find-package-doesnt-look-in-default-suffixes-until-enabling-a-language/1198/2 "2020-05-12T15:51:59Z")

</div>

Oh, wait, is this what I needed this whole time?! [Pass argument directly to the compiler](https://discourse.cmake.org/t/pass-argument-directly-to-the-compiler/1181)

EDIT: Playing around with `CMAKE_CXX_COMPILER_LAUNCHER` - this might solve my problem.

---

_[View the full topic](https://discourse.cmake.org/t/find-package-doesnt-look-in-default-suffixes-until-enabling-a-language/1198)._
