Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ if (ROBOTICS_TOOLBOX_BUILD_TESTS)
add_definitions(-DNUMERICAL_TOOLBOX_ENABLE_ASSERTIONS=1)
endif()

if (ROBOTICS_TOOLBOX_ENABLE_OPTIMIZATIONS)
add_definitions(-DNumericalToolbox_ENABLE_OPTIMIZATIONS=1)
endif()

if (EMIL_ENABLE_COVERAGE)
add_definitions(-DROBOTICS_TOOLBOX_COVERAGE_BUILD=1)
endif()
Expand Down Expand Up @@ -51,9 +47,11 @@ if (NOT TARGET numerical.math)
FetchContent_Declare(
numerical_toolbox
GIT_REPOSITORY https://github.com/embedded-pro/numerical-toolbox-cpp.git
GIT_TAG 1225b3c422beab93e0ff8fd7231f8d7e087f6da4 # main
GIT_TAG 69ff13e719895b74b167c4742130442c6b96a857 # main
)

set(NUMERICAL_TOOLBOX_ENABLE_OPTIMIZATIONS ${ROBOTICS_TOOLBOX_ENABLE_OPTIMIZATIONS} CACHE BOOL "" FORCE)

FetchContent_MakeAvailable(numerical_toolbox)
endif()

Expand Down
Loading