diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index e912ae5..5f57d6c 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -180,3 +180,14 @@ endif() add_library(pgm INTERFACE) target_include_directories(pgm INTERFACE ${pgm_SOURCE_DIR}) + +option(ENABLE_BODS "Enable bods" OFF) +if(ENABLE_BODS) + ExternalProject_Add( + bods + SOURCE_DIR ${CMAKE_SOURCE_DIR}/external/bods + BINARY_DIR ${CMAKE_BINARY_DIR}/bods + BUILD_ALWAYS ON # Always build to ensure updates + INSTALL_COMMAND "" + ) +endif() \ No newline at end of file