Skip to content

Commit

Permalink
added TARGET_NAME declaration to cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
bsutherland333 committed Jun 28, 2024
1 parent 25e0706 commit 294ede9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@ file(GLOB_RECURSE ROSFLIGHT_SOURCES
set(BOARD_TO_BUILD "" CACHE STRING "Select the board to build")
if("${BOARD_TO_BUILD}" STREQUAL "varmint")
message("===== Selecting varmint board target. =====")
set(TARGET_NAME "varmint_10X")
add_subdirectory(boards/varmint_h7/varmint_10X)
elseif("${BOARD_TO_BUILD}" STREQUAL "pixracer_pro")
message("===== Selecting pixracer pro board target. =====")
set(TARGET_NAME "pixracer_pro")
add_subdirectory(boards/varmint_h7/pixracer_pro)
elseif("${BOARD_TO_BUILD}" STREQUAL "test")
message("===== Selecting test board target. ======")
Expand Down
2 changes: 1 addition & 1 deletion boards/varmint_h7

0 comments on commit 294ede9

Please sign in to comment.