mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-13 19:50:34 +00:00
Fix compilation in macOS
This commit is contained in:
parent
0253f4ba05
commit
314b80e8ac
@ -48,6 +48,10 @@ add_library(rtklib_lib ${RTKLIB_LIB_SOURCES} ${RTKLIB_LIB_HEADERS})
|
|||||||
source_group(Headers FILES ${RTKLIB_LIB_HEADERS})
|
source_group(Headers FILES ${RTKLIB_LIB_HEADERS})
|
||||||
add_dependencies(rtklib_lib glog-${glog_RELEASE})
|
add_dependencies(rtklib_lib glog-${glog_RELEASE})
|
||||||
|
|
||||||
|
if(OS_IS_MACOSX)
|
||||||
|
set(MAC_LIBRARIES "-framework Accelerate")
|
||||||
|
endif(OS_IS_MACOSX)
|
||||||
|
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
rtklib_lib
|
rtklib_lib
|
||||||
${Boost_LIBRARIES}
|
${Boost_LIBRARIES}
|
||||||
@ -55,4 +59,5 @@ target_link_libraries(
|
|||||||
${GLOG_LIBRARIES}
|
${GLOG_LIBRARIES}
|
||||||
${BLAS}
|
${BLAS}
|
||||||
${LAPACK}
|
${LAPACK}
|
||||||
|
${MAC_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user