@@ -17,7 +17,7 @@ list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
17
17
##################
18
18
19
19
# These are essential componets that are better to be turned on.
20
- option (WITH_INET "Build Artery with Inet framework integration" ON )
20
+ option (WITH_INET "Build Artery with INET framework integration" ON )
21
21
option (WITH_VEINS "Build Artery with Veins framework integration" ON )
22
22
23
23
# Various extensions, adjust them as needed.
@@ -37,20 +37,20 @@ option(VSCODE_LAUNCH_INTEGRATION "Generate VS Code configuration for debugging A
37
37
#################################
38
38
39
39
if (NOT WITH_INET )
40
- # SimuLTE extends Inet network (see src/artery/lte/World.ned)
40
+ # SimuLTE extends INET network (see src/artery/lte/World.ned)
41
41
if (WITH_SIMULTE )
42
- message (ERROR "SimuLTE requires Inet framework integration (WITH_INET must be set to ON)" )
42
+ message (ERROR "SimuLTE requires INET framework integration (WITH_INET must be set to ON)" )
43
43
endif ()
44
44
45
- # Components below use Inet classes
45
+ # Components below use INET classes
46
46
if (WITH_OTS )
47
- message (ERROR "OpenTrafficSim requires Inet framework integration (WITH_INET must be set to ON)" )
47
+ message (ERROR "OpenTrafficSim requires INET framework integration (WITH_INET must be set to ON)" )
48
48
endif ()
49
49
if (WITH_TESTBED )
50
- message (ERROR "Testbed requires Inet framework integration (WITH_INET must be set to ON)" )
50
+ message (ERROR "Testbed requires INET framework integration (WITH_INET must be set to ON)" )
51
51
endif ()
52
52
if (WITH_ENVMOD )
53
- message (ERROR "Environment model requires Inet framework integration (WITH_INET must be set to ON)" )
53
+ message (ERROR "Environment model requires INET framework integration (WITH_INET must be set to ON)" )
54
54
endif ()
55
55
endif ()
56
56
@@ -71,12 +71,15 @@ include(GNUInstallDirs)
71
71
if (WITH_TRANSFUSION OR WITH_OTS )
72
72
find_package (Protobuf REQUIRED )
73
73
endif ()
74
+
75
+ if (WITH_OTS )
76
+ find_package (PkgConfig MODULE REQUIRED )
77
+ pkg_check_modules (ZEROMQ REQUIRED libzmq )
78
+ endif ()
74
79
75
80
if (WITH_TESTBED )
76
81
find_package (SEA_V2X CONFIG )
77
82
mark_as_advanced (SEA_V2X_DIR )
78
- find_package (PkgConfig MODULE REQUIRED )
79
- pkg_check_modules (ZEROMQ REQUIRED libzmq )
80
83
endif ()
81
84
82
85
add_subdirectory (extern )
0 commit comments