Make static linking optional
jonas opened this issue · comments
Static linking is great for packaging but not great for local installation from source. Also it causes valgrind to complain. The fix should be to only statically link the program when -DSTATIC_LINKING=1
is passed to CMake.