cmake hangs while configuring just after the message Found Threads: TRUE

I have my CMakeLists.txt and want to configure my program before compiling it.

I call cmake passing all the parameters I need for configuring my c++ code and it hangs after the message “-- Found Threads: TRUE”, so cannot continue to build my application calling “cmake --build . -j”

Is there a way I can find out what’s going wrong? Up until yesterday everything was fine. My cmake version is 3.24.3


Run cmake with --trace. Also look in the CMakeFiles directory for logs and see where it is hanging. My guess would be some compile command in a try compile is hanging.

Thanks a lot

it seems it was trying to download some external libraries needed from CMakelists.txt; but someone here had messed with the firewall rules and had restricted all connections outside the company.