cmake_minimum_required() should come before project()

This commit is contained in:
Tim Wojtulewicz 2025-08-06 12:10:41 -07:00
parent 2f2f328a72
commit 3c535ec215
10 changed files with 20 additions and 20 deletions

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Foo-FOO)
cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Foo-FOO)
if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set")
endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Conflict-Plugin)
cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Conflict-Plugin)
if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set")
endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Demo-Foo)
if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set")
endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Demo-Foo)
if (NOT BRO_DIST)
message(FATAL_ERROR "BRO_DIST not set")
endif ()

View file

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

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Demo-Foo)
if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set")
endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Demo-Foo)
if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set")
endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Demo-Foo)
if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set")
endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Demo-Foo)
if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set")
endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Demo-Foo)
if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set")
endif ()