[CMake] Unreliable Find*.conf

Damian Philipp damian.philipp at gmx.net
Sun Mar 22 04:41:48 EDT 2015


Hello,

Am 18.03.15 um 13:28 schrieb Hendrik Sattler:
> CMAKE_PREFIX_PATH is possibly a list so the above does not always work.
> IIRC Just use
>      PATH_SUFFIXES bin
> instead.
> And use find_ library() instead.

I wanted to test this, but for some reason cmake suddenly finds
everything without any hint in the find-module, so long as I set
CMAKE_PATH_PREFIX.

I erased all cmake-caches I could find from the source tree and switched
to out-of-source build - but still, cmake can find the TS3 library on
its own. Is there some hidden cache elsewhere that I need to erase?

Regards,
Damian Philipp


More information about the CMake mailing list