Skip to content

Commit

Permalink
minor cmake fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abhaybd committed May 24, 2024
1 parent 3025123 commit 1afa14a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ elseif(GPS STREQUAL "ARDUPILOT")
target_sources(gps_interface PUBLIC
ardupilot/ArduPilotProtocol.cpp
ardupilot/ArduPilotInterface.cpp)
target_link_libraries(gps_interface utils websocket_utils constants)
target_link_libraries(gps_interface utils websocket_utils)
else()
target_sources(gps_interface PUBLIC gps/dummy/dummy_gps.cpp)
endif()
Expand All @@ -199,7 +199,6 @@ endif()
# hardware-agnostic utilities and common code for world interface
add_library(world_interface_core STATIC
world_interface/gps_common_interface.cpp
# world_interface/kinematic_common_interface.cpp
ar/Detector.cpp
ar/MarkerSet.cpp
ar/MarkerPattern.cpp
Expand Down Expand Up @@ -266,6 +265,7 @@ add_library(autonomous SHARED
target_link_libraries(autonomous commands world_interface)

add_library(constants SHARED Constants.cpp)
link_libraries(constants)

add_executable(Rover Rover.cpp)
add_library(rover_common SHARED
Expand All @@ -280,7 +280,6 @@ target_link_libraries(rover_common

list(APPEND rover_libs
rover_common
constants
Threads::Threads
websocket_utils
filters
Expand Down

0 comments on commit 1afa14a

Please sign in to comment.