Update minimum required CMake to 3.5

Also now uses CMake's ENABLE_EXPORTS target property for the zeek
executable to ensure symbols are visible to plugins.  Prior to CMake
3.4, the policy was to export symbols by default for certain platforms,
but later versions need either the explicit target property or policy.
This commit is contained in:
Jon Siwek 2020-12-01 22:01:58 -08:00
parent 4498c52a8b
commit 3605e04d83
19 changed files with 21 additions and 21 deletions

View file

@ -1,7 +1,7 @@
project(Zeek-Packet-Plugin-Demo)
cmake_minimum_required(VERSION 2.6.3)
cmake_minimum_required(VERSION 3.5)
if ( NOT ZEEK_DIST )
message(FATAL_ERROR "ZEEK_DIST not set")