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

Commit a59a290e authored by Benjamin Dobell's avatar Benjamin Dobell
Browse files

Merge pull request #287 from yan12125/allow-disable-gui

Add an option to disable the frontend when building
parents 8e45fd81 f789e25d
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()