mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-10-24 20:17:39 +00:00
Add new configuration option ENABLE_ARMA_NO_DEBUG
When enabled, defines the ARMA_NO_DEBUG macro in Armadillo, disabling bound checking. Disabled by default, but it is set automatically to ON if ENABLE_PACKAGING is set to ON
This commit is contained in:
@@ -134,7 +134,7 @@ if(OS_IS_MACOSX)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(CMAKE_BUILD_TYPE MATCHES Rel)
|
||||
if(ENABLE_ARMA_NO_DEBUG)
|
||||
target_compile_definitions(tracking_libs
|
||||
PUBLIC -DARMA_NO_BOUND_CHECKING=1
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user