a CMake foreach can be used here