Skip to content

Commit

Permalink
CMake: Allow to compile IIOD without local backend
Browse files Browse the repository at this point in the history
IIOD uses the high-level API of Libiio, it can run on top of any backend
(even though it would typically use the local backend).

Signed-off-by: Paul Cercueil <[email protected]>
  • Loading branch information
pcercuei committed Jan 30, 2024
1 parent 7eae624 commit 201bfc3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -328,10 +328,6 @@ endif()
IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
option(WITH_IIOD "Build the IIO Daemon" ON)
option(WITH_LOCAL_BACKEND "Enable the local backend" ON)

if (WITH_IIOD AND NOT WITH_LOCAL_BACKEND)
message(SEND_ERROR "IIOD can only be enabled if the local backend is enabled")
endif()
endif()

set(DOXYGEN_INPUT "${CMAKE_SOURCE_DIR}")
Expand Down

0 comments on commit 201bfc3

Please sign in to comment.