mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-21 06:27:01 +00:00
cleaning
This commit is contained in:
parent
ba5b057302
commit
86c3018299
@ -355,31 +355,29 @@ endif()
|
|||||||
################################################################################
|
################################################################################
|
||||||
find_package(VolkGnssSdr)
|
find_package(VolkGnssSdr)
|
||||||
|
|
||||||
|
|
||||||
if(NOT VOLK_GNSSSDR_FOUND)
|
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
|
||||||
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module
|
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr
|
||||||
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr
|
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module/build
|
||||||
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module/build
|
CMAKE_ARGS -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DCMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module/build -DENABLE_STATIC_LIBS=ON
|
||||||
CMAKE_ARGS -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DCMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module/build -DENABLE_STATIC_LIBS=ON
|
DOWNLOAD_COMMAND ""
|
||||||
DOWNLOAD_COMMAND ""
|
UPDATE_COMMAND ""
|
||||||
UPDATE_COMMAND ""
|
PATCH_COMMAND ""
|
||||||
PATCH_COMMAND ""
|
BUILD_COMMAND make
|
||||||
BUILD_COMMAND make
|
)
|
||||||
)
|
find_package(ORC)
|
||||||
find_package(ORC)
|
if(NOT ORC_FOUND)
|
||||||
if(NOT ORC_FOUND)
|
set(ORC_LIBRARIES "")
|
||||||
set(ORC_LIBRARIES "")
|
set(ORC_INCLUDE_DIRS "")
|
||||||
set(ORC_INCLUDE_DIRS "")
|
endif(NOT ORC_FOUND)
|
||||||
endif(NOT ORC_FOUND)
|
|
||||||
|
|
||||||
add_library(volk_gnsssdr UNKNOWN IMPORTED)
|
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_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_INCLUDE_DIRS "${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module/build/include/;${ORC_INCLUDE_DIRS}")
|
||||||
set(VOLK_GNSSSDR_LIBRARIES volk_gnsssdr)
|
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
|
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/volk_gnsssdr_module/build/apps/volk_gnsssdr_profile
|
||||||
${CMAKE_SOURCE_DIR}/install/volk_gnsssdr_profile)
|
${CMAKE_SOURCE_DIR}/install/volk_gnsssdr_profile)
|
||||||
endif(NOT VOLK_GNSSSDR_FOUND)
|
endif(NOT VOLK_GNSSSDR_FOUND)
|
||||||
|
Loading…
Reference in New Issue
Block a user