CMake/Tests/RunCMake/file/GLOB-noexp-LIST_DIRECTORIES.cmake
Brad King 2bba0bfc2c file: Fix crash on GLOB with no expressions after LIST_DIRECTORIES
Since commit v3.3.0-rc1~318^2~1 (file: Teach GLOB to list directories
optionally, 2015-03-17) using `LIST_DIRECTORIES` followed by no
expression causes a crash.  Fix the logic to avoid the crash.

Fixes: #16565
2017-01-16 10:47:32 -05:00

2 lines
47 B
CMake

file(GLOB CONTENT_LIST LIST_DIRECTORIES false)