Skip to content

Commit

Permalink
Add option to include or omit libs/bsp/
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdarcyacn committed Jan 30, 2025
1 parent fda81b1 commit 056eca0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Filelists.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ if (BUILD_UNIT_TESTS)
enable_testing()
endif ()

set(INCLUDE_OPENBSW_LIBS_BSP
ON
CACHE BOOL "Include openbsw/libs/bsp/ in build")

set(OPENBSW_DIR
${CMAKE_CURRENT_SOURCE_DIR}
CACHE PATH "Path to Eclipse OpenBSW")
Expand Down
4 changes: 3 additions & 1 deletion libs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
add_subdirectory(bsw)
add_subdirectory(bsp)
if(INCLUDE_OPENBSW_LIBS_BSP)
add_subdirectory(bsp)
endif()
add_subdirectory(3rdparty)

0 comments on commit 056eca0

Please sign in to comment.