CLion Hangs on "Building..." Indefinitely On FreeBSD


I'm not sure what the cause of this is, I'm using the Linux version of CLion on FreeBSD, everything appears to work normally except when I go to build.  I made a simple CMake project from a template, hit the Run button after selecting the Run/Debug Configuration and it just spins saying "Building..." - but it actually builds.  In addition it outputs the command:

/usr/local/share/clion/bin/cmake/bin/cmake --build /home/cory/projects/test/cmake-build-debug --target test -- -j 12

Which works perfectly from a shell window, returns immediately and produces the "test" binary which itself returns:

Hello, World!

When executed.  Does anyone know of a way to fix this so that CLion will detect that it did actually build and proceed to debug (or at least unblock the build button and execute) the binary?


Hi, Cory.

Sorry for the inconvenience! Could you please check that you've used these settings in your configuration? 


Thanks, this was resolved but I forgot to edit the post.  The solution was here (which is the same as what you posted.)


Please sign in to leave a comment.