Does CMake meaningfully support modules yet? From what I can tell, the latest activity on this topic[1] is that it's in an experimental state, and requires that you use a bundled version of ninja[2]. I wouldn't expect CLion to support modules before CMake does.
1: https://gitlab.kitware.com/cmake/cmake/-/issues/18355
2: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/5562