How can I fix the problem other computer the program can't start because libgcc_s_dw2-1.dll is missing from your computer? The computer compiled the program and the computer running the program are different.
As I am using CLion, it seems like I have to change the CMake file, but I couldn't get advice from many sites I have found. What should I add to my project?
I have looked at other question How can I install GCC runtime libraries with CMake?, but I have no idea what's going on in this answer.