file: GLOB with CONFIGURE_DEPENDS, VerifyGlobs.cmake, and symlinks
i'm running into an issue with glob(... CONFIGURE_DEPENDS )
... if there are symbolic links matching the glob expression, i'm ending up in a configure-loop:
[0/2 ?/sec] Re-checking globbed directories...
CMake Warning (dev) at CMakeFiles/VerifyGlobs.cmake:13526 (file):
Policy CMP0009 is not set: FILE GLOB_RECURSE calls should not follow
symlinks by default. Run "cmake --help-policy CMP0009" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- GLOB mismatch!
afaict cmake is called recursibely, but CMP0009
is not set in VerifyGlobs.cmake
, nor propagated when i set the policy in my CMakeLists.txt
file
Edited by Brad King