mirror of
https://github.com/Benjamin-Dobell/Heimdall.git
synced 2024-05-13 12:29:10 +00:00
Add an option to disable GUI
This commit is contained in:
parent
d0526a3b74
commit
f789e25d85
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user