1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-11 12:53:10 +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:
Carles Fernandez
2019-08-12 11:33:51 +02:00
parent e6700907b4
commit 3e3af9de5a
8 changed files with 15 additions and 10 deletions

View File

@@ -91,7 +91,7 @@ target_include_directories(acquisition_gr_blocks
${CMAKE_SOURCE_DIR}/src/core/receiver
)
if(CMAKE_BUILD_TYPE MATCHES Rel)
if(ENABLE_ARMA_NO_DEBUG)
target_compile_definitions(acquisition_gr_blocks
PUBLIC -DARMA_NO_BOUND_CHECKING=1
)