Then you need to analyse first what goes wrong within your build environment!
see i.e.: No SOURCES given to target: __CMAKE__CXX26 on ubuntu 25.04 - #6 by ClausKlein
see i.e.: No SOURCES given to target: __CMAKE__CXX26 on ubuntu 25.04 - #6 by ClausKlein