mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
Do not include sigmffilerecord if libsigmf is not available
This commit is contained in:
parent
99c079b549
commit
ea213bf6cc
@ -27,7 +27,7 @@ if (NOT LIBSIGMF_FOUND)
|
|||||||
set(LIBSIGMF_FOUND TRUE CACHE INTERNAL "libsigmf found")
|
set(LIBSIGMF_FOUND TRUE CACHE INTERNAL "libsigmf found")
|
||||||
message(STATUS "Found libsigmf: ${LIBSIGMF_INCLUDE_DIR}, ${LIBSIGMF_LIBRARIES}")
|
message(STATUS "Found libsigmf: ${LIBSIGMF_INCLUDE_DIR}, ${LIBSIGMF_LIBRARIES}")
|
||||||
else (LIBSIGMF_INCLUDE_DIR AND LIBSIGMF_LIBRARIES)
|
else (LIBSIGMF_INCLUDE_DIR AND LIBSIGMF_LIBRARIES)
|
||||||
set(LIBSIGMF_FOUND FALSE CACHE INTERNAL "libdsdcc found")
|
set(LIBSIGMF_FOUND FALSE CACHE INTERNAL "libsigmf found")
|
||||||
message(STATUS "libsigmf not found.")
|
message(STATUS "libsigmf not found.")
|
||||||
endif (LIBSIGMF_INCLUDE_DIR AND LIBSIGMF_LIBRARIES)
|
endif (LIBSIGMF_INCLUDE_DIR AND LIBSIGMF_LIBRARIES)
|
||||||
|
|
||||||
|
@ -51,6 +51,7 @@ if (LIBSIGMF_FOUND)
|
|||||||
)
|
)
|
||||||
set(sdrbase_HEADERS
|
set(sdrbase_HEADERS
|
||||||
${sdrbase_HEADERS}
|
${sdrbase_HEADERS}
|
||||||
|
dsp/sigmf_forward.h
|
||||||
dsp/sigmffilerecord.h
|
dsp/sigmffilerecord.h
|
||||||
)
|
)
|
||||||
include_directories(${LIBSIGMF_INCLUDE_DIR})
|
include_directories(${LIBSIGMF_INCLUDE_DIR})
|
||||||
@ -136,7 +137,6 @@ set(sdrbase_SOURCES
|
|||||||
dsp/samplesimplefifo.cpp
|
dsp/samplesimplefifo.cpp
|
||||||
dsp/samplesourcefifo.cpp
|
dsp/samplesourcefifo.cpp
|
||||||
dsp/samplesourcefifodb.cpp
|
dsp/samplesourcefifodb.cpp
|
||||||
dsp/sigmffilerecord.cpp
|
|
||||||
dsp/basebandsamplesink.cpp
|
dsp/basebandsamplesink.cpp
|
||||||
dsp/basebandsamplesource.cpp
|
dsp/basebandsamplesource.cpp
|
||||||
dsp/nullsink.cpp
|
dsp/nullsink.cpp
|
||||||
@ -305,8 +305,6 @@ set(sdrbase_HEADERS
|
|||||||
dsp/samplesimplefifo.h
|
dsp/samplesimplefifo.h
|
||||||
dsp/samplesourcefifo.h
|
dsp/samplesourcefifo.h
|
||||||
dsp/samplesourcefifodb.h
|
dsp/samplesourcefifodb.h
|
||||||
dsp/sigmf_forward.h
|
|
||||||
dsp/sigmffilerecord.h
|
|
||||||
dsp/basebandsamplesink.h
|
dsp/basebandsamplesink.h
|
||||||
dsp/basebandsamplesource.h
|
dsp/basebandsamplesource.h
|
||||||
dsp/nullsink.h
|
dsp/nullsink.h
|
||||||
|
Loading…
Reference in New Issue
Block a user