1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-10-20 18:17:42 +00:00

Fix building in debug mode

Fixes for macOS
This commit is contained in:
Carles Fernandez
2019-02-17 13:36:13 +01:00
parent 2da0ef3c84
commit 0a1df17cca
4 changed files with 112 additions and 75 deletions

View File

@@ -71,10 +71,14 @@ target_link_libraries(algorithms_libs_rtklib
PRIVATE
Gflags::gflags
Glog::glog
${BLAS}
${LAPACK}
)
if(OS_IS_MACOSX)
target_link_libraries(algorithms_libs_rtklib PRIVATE "-framework Accelerate")
else()
target_link_libraries(algorithms_libs_rtklib PRIVATE ${LAPACK} ${BLAS})
endif()
set_property(TARGET algorithms_libs_rtklib
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>

View File

@@ -224,7 +224,7 @@ const int NSYSQZS = 0;
#define ENABDS
#ifdef ENABDS
const int MINPRNBDS = 1; //!< min satellite sat number of BeiDou
const int MAXPRNBDS = 35; //!< max satellite sat number of BeiDou
const int MAXPRNBDS = 37; //!< max satellite sat number of BeiDou
const int NSATBDS = (MAXPRNBDS - MINPRNBDS + 1); //!< number of BeiDou satellites
const int NSYSBDS = 1;
#else