Closed lasdasdas closed 6 years ago
Thanks, Looks good to me about code of GPS time.
But, I'm surprised that necessary add this changes (aef0a40) to FindPCAP.cmake
for case of Linux.
I hope to keep it simple. Can you make it more simpler?
Ok. I'll see what I can do.
Check it now, it's much much cleaner. The ${PCAP_LIBRARY_DIR} variable is messing with my builds on linux. I had to put the find_package_handle_standard_arg() so that it only gets sourced if ISFOUND.
Good! 👍
If you want it, I think that it is good to remove PCAP_LIBRARY_DIR
. It is not always necessary.
Should I remove It then? Is it necessary in any case? I'll commit the changes in a second.
Is this what you mean?
Yes. On more, Please remove PCAP_LIBRARY_DIR
from CMakeLists.txt
of samples.
I just did it
LGTM👍
Hi @UnaNancyOwen ,
As discussed ages ago, this PR contains a preprocessor macro to enable gps time instead of unix time. Still data packet precision ( no shooting delay LUT for now, but this will eventually be implemented) . I have also completed the CMakeList.txt of both examples to consider this macro.
The build is kinda messed up, I had to add a bit more of code to make FindPCAP work in Linux. If you had a minute to check that the build still works on Windows it would be great (although I am pretty certain it still does).