CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS — CMake 3.17.2 Documentation

# CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS

Set to `TRUE` to tell `find_package()` calls to resolve symbolic links in the value of `<PackageName>_DIR`.

This is helpful in use cases where the package search path points at a proxy directory in which symlinks to the real package locations appear. This is not enabled by default because there are also common use cases in which the symlinks should be preserved.