mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-06 07:20:34 +00:00
cleaning
This commit is contained in:
parent
ba5b057302
commit
86c3018299
@ -355,10 +355,8 @@ endif()
|
||||
################################################################################
|
||||
find_package(VolkGnssSdr)
|
||||
|
||||
|
||||
if(NOT VOLK_GNSSSDR_FOUND)
|
||||
message("+++++++HEllloooo")
|
||||
ExternalProject_Add(volk_gnsssdr_module
|
||||
ExternalProject_Add(volk_gnsssdr_module
|
||||
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module
|
||||
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr
|
||||
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module/build
|
||||
@ -368,18 +366,18 @@ ExternalProject_Add(volk_gnsssdr_module
|
||||
PATCH_COMMAND ""
|
||||
BUILD_COMMAND make
|
||||
)
|
||||
find_package(ORC)
|
||||
if(NOT ORC_FOUND)
|
||||
find_package(ORC)
|
||||
if(NOT ORC_FOUND)
|
||||
set(ORC_LIBRARIES "")
|
||||
set(ORC_INCLUDE_DIRS "")
|
||||
endif(NOT ORC_FOUND)
|
||||
endif(NOT ORC_FOUND)
|
||||
|
||||
add_library(volk_gnsssdr UNKNOWN IMPORTED)
|
||||
set_property(TARGET volk_gnsssdr PROPERTY IMPORTED_LOCATION ${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module/build/lib/libvolk_gnsssdr.a)
|
||||
set(VOLK_GNSSSDR_INCLUDE_DIRS "${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module/build/include/;${ORC_INCLUDE_DIRS}")
|
||||
set(VOLK_GNSSSDR_LIBRARIES volk_gnsssdr)
|
||||
add_library(volk_gnsssdr UNKNOWN IMPORTED)
|
||||
set_property(TARGET volk_gnsssdr PROPERTY IMPORTED_LOCATION ${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module/build/lib/libvolk_gnsssdr.a)
|
||||
set(VOLK_GNSSSDR_INCLUDE_DIRS "${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module/build/include/;${ORC_INCLUDE_DIRS}")
|
||||
set(VOLK_GNSSSDR_LIBRARIES volk_gnsssdr)
|
||||
|
||||
add_custom_command(TARGET volk_gnsssdr_module POST_BUILD
|
||||
add_custom_command(TARGET volk_gnsssdr_module POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module/build/apps/volk_gnsssdr_profile
|
||||
${CMAKE_SOURCE_DIR}/install/volk_gnsssdr_profile)
|
||||
endif(NOT VOLK_GNSSSDR_FOUND)
|
||||
|
Loading…
Reference in New Issue
Block a user