Make darktable build using ninja

Trying to build darktable using cmake+ninja i got the error messaage:

ninja: error: '../po/*.po', needed by 'data/darktable.desktop', missing and no known rule to make it

This commit fixes the problem replacing wildcard dependency with globbing in cmake.