How to add the options -static-libgcc and -static-libstdc++ to link the C and C++ standard libraries
Because i just made exe file and had to download these dll files online.. Is there a way i can reconfigure clion or fix this somehow?
Please sign in to leave a comment.
Hi Uros.
Please try to use set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++")
ok, that worked.