Skip to content

Commit 32ce389

Browse files
committed
made CMake linking changes for CANModule
1 parent 28e316c commit 32ce389

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

rover-apps/common/CMakeLists.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,14 @@ target_link_libraries(WatchdogModule
55
PRIVATE
66
WatchdogWrapper
77
mbed-os
8-
)
8+
)
9+
10+
add_library(CANModule)
11+
target_sources(CANModule PRIVATE src/CANModule.cpp)
12+
target_include_directories(CANModule PUBLIC include)
13+
target_link_libraries(CANModule
14+
PRIVATE
15+
CANInterface
16+
mbed-os
17+
)
18+

0 commit comments

Comments
 (0)