Commit f789e25d authored by Chih-Hsuan Yen's avatar Chih-Hsuan Yen

Add an option to disable GUI

parent d0526a3b
......@@ -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)
add_subdirectory(heimdall-frontend)
add_dependencies(heimdall-frontend heimdall)
if(NOT DISABLE_FRONTEND)
add_subdirectory(heimdall-frontend)
add_dependencies(heimdall-frontend heimdall)
endif()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment