mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-17 13:51:47 -05:00
Build: fixed Linux build with external libraries
This commit is contained in:
parent
4e1bee09e3
commit
a9db3c2381
@ -30,7 +30,7 @@ target_link_libraries(soapysdrdevice
|
||||
sdrbase
|
||||
)
|
||||
|
||||
if(ENABLE_EXTERNAL_LIBRARIES)
|
||||
if(ENABLE_EXTERNAL_LIBRARIES AND NOT LINUX)
|
||||
add_dependencies(soapysdrdevice soapysdr)
|
||||
endif()
|
||||
|
||||
|
2
external/CMakeLists.txt
vendored
2
external/CMakeLists.txt
vendored
@ -211,7 +211,7 @@ if(WIN32 OR LINUX)
|
||||
makeCopyDir("${source_dir}" "${source_dir}/dsp" serialdv)
|
||||
install(FILES "${SDRANGEL_BINARY_BIN_DIR}/serialdv${CMAKE_SHARED_LIBRARY_SUFFIX}" DESTINATION "${INSTALL_LIB_DIR}")
|
||||
elseif(LINUX)
|
||||
set(LIBSERIALDV_LIBRARY "${binary_dir}/libserialdv${CMAKE_SHARED_LIBRARY_SUFFIX}" CACHE INTERNAL "")
|
||||
set(LIBSERIALDV_LIBRARY "${EXTERNAL_BUILD_LIBRARIES}/lib/libserialdv${CMAKE_SHARED_LIBRARY_SUFFIX}" CACHE INTERNAL "")
|
||||
# because sdrbase/dsp/dvserialworker.h use dsp/dvcontroller.h
|
||||
# so we need a link
|
||||
makeLink("${source_dir}" "${source_dir}/dsp" serialdv)
|
||||
|
Loading…
Reference in New Issue
Block a user