Check for CMakeLists.txt also in demos

This commit is contained in:
Laurent Rineau
2018-10-16 12:42:49 +02:00
parent 727cb4336c
commit a7c5c92f2f
10 changed files with 2 additions and 2 deletions
@@ -85,7 +85,7 @@ fi
#check cmake scripts of tests, examples are present
echo '.. Checking if all CMakeLists.txt are present...'
for i in `ls -d ^build*/examples/*/ ^build*/test/*/`; do
for i in `ls -d ^build*/examples/*/ ^build*/test/*/ ^build*/demo/^(icons|resources)/`; do
if ! [ -f $i/CMakeLists.txt ]; then
echo "Error: $i/CMakeLists.txt does not exist!"
exit 1