How to add the options -static-libgcc and -static-libstdc++ to link the C and C++ standard libraries Permanently deleted user 创建于 2015年10月15日 10:09 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?
Hi Uros.
Please try to use set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++")
ok, that worked.