1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-06 02:03:04 +00:00

Adding an option to build the binary without detecting the SIMD

instruction set present in the compiling machine, so it can be executed
in other machines without those specific sets.
This commit is contained in:
Carles Fernandez
2014-09-07 19:35:41 +02:00
parent 7d0ac88f93
commit 322550e0c6
7 changed files with 54 additions and 7 deletions

View File

@@ -36,6 +36,10 @@ include_directories(
${VOLK_INCLUDE_DIRS}
)
if(ENABLE_GENERIC_ARCH)
add_definitions( -DGENERIC_ARCH=1 )
endif(ENABLE_GENERIC_ARCH)
file(GLOB TRACKING_LIB_HEADERS "*.h")
add_library(tracking_lib ${TRACKING_LIB_SOURCES} ${TRACKING_LIB_HEADERS})
source_group(Headers FILES ${TRACKING_LIB_HEADERS})