Closed pietern closed 6 years ago
Sorry, I should have got to this sooner.
This first change looks good, but what's the point of removing ASAN? I don't have any interest in removing that since it has already found many bugs.
Hey, the asan commit is unrelated to the CMake one. I just reused the same branch to fix a build. Passing -fsanitize=address implies needing to link to the asan library, which is not done here. I wasn't able to get asan to work on FreeBSD, which meant that I can't do debug builds with this enabled. Happy to submit another PR for it if you are OK with turning asan into a separate option.
In the mean time I'm cleaning up this branch so it is mergeable.
@brian-armstrong I think this is ready to go. The Travis failure looks unrelated.
Looks good! I am going to have that test retry. The test is a little flaky unfortunately -- the downsides to PRNG-based FEC tests :)
Thanks!
This makes it possible to embed libcorrect in a larger project where the source is not located at the CMake root but rather the project root.