Browse Source

fix: link executable statically to prevent errors

master
Abheek Dhawan 2 years ago
parent
commit
2e8f48345b
Signed by: abheekd GPG Key ID: 7BE81B8C14475B67
  1. 1
      CMakeLists.txt

1
CMakeLists.txt

@ -5,3 +5,4 @@ set(CMAKE_CXX_STANDARD 17)
add_executable(modlimitfix add_executable(modlimitfix
main.cpp) main.cpp)
target_link_libraries(modlimitfix -static-libgcc -static-libstdc++)

Loading…
Cancel
Save