Dave Walker
67c81199fb
Update CMake minimum required version to 3.10 ( #553 )
...
CMake 4 removed compatibility with CMake versions < 3.5, and versions
between 3.5-3.10 are deprecated.
This change updates the minimum required version to 3.10 to ensure
compatibility with modern CMake versions including CMake 4.x.
This issue is affecting NixOS users (see
https://github.com/NixOS/nixpkgs/issues/450198 ) and will likely impact
other distributions as they upgrade to CMake 4.x.
2025-12-11 20:53:03 -08:00
Daniel Vrátil
c2bb52b82f
Fix check whether we are crosscompiling
...
CMake defines CMAKE_CROSSCOMPILING when crosscompiling so
use that instead of the undefined CROSS_COMPILING variable.
2019-02-07 13:20:39 +01:00
Matias Fontanini
a61a361eb1
Add check for noexcept when checking C++11 features
2016-10-23 11:34:10 -07:00
Matias Fontanini
a192e814bf
Allow configuring pcap timestamp precision
2016-06-17 09:20:43 -07:00
Matias Fontanini
b326546229
Add checks for std::chrono and std::function
2016-02-18 20:52:18 -08:00
Matias Fontanini
5c22cc7985
Use compiler intrinsics to swap bytes
2016-02-18 20:35:37 -08:00
Matias Fontanini
bd31b3648f
Change CheckCXX11Features into CheckCXXFeatures
2016-02-18 20:11:36 -08:00
Matias Fontanini
0e5d7d7ae0
Use C++11 mode by default
2016-02-17 21:04:28 -08:00
Matias Fontanini
b451a9eae0
Detect if pcap version defines pcap_set_immediate_mode.
2015-06-14 11:23:32 -07:00
Matias Fontanini
5cd0c8e41b
Fix FindPCAP.cmake to find winpcap on x64.
2015-05-17 11:52:30 -07:00
Matias Fontanini
f5b0603799
CMake compilation now works on Windows.
2014-08-24 18:06:58 -03:00
Santiago Alessandri
fb7dbed58a
First approach towards moving to CMake
2014-08-22 11:03:16 -07:00