Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f789e25d authored by Yen Chi Hsuan's avatar Yen Chi Hsuan
Browse files

Add an option to disable GUI

parent d0526a3b
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -8,8 +8,11 @@ project(Heimdall)

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)

option(DISABLE_FRONTEND "Disable GUI frontend" OFF)

add_subdirectory(libpit)
add_subdirectory(heimdall)
if(NOT DISABLE_FRONTEND)
    add_subdirectory(heimdall-frontend)

    add_dependencies(heimdall-frontend heimdall)
endif()