Skip to content

Commit cc4f38e

Browse files
authored
Merge pull request #2838 from lilyinstarlight/add-imgui-cmake-option
Build - make ImGui-based interface optional
2 parents 465d663 + 5168f6a commit cc4f38e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

app/gui/CMakeLists.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1+
option(BUILD_IMGUI_INTERFACE "Build the ImGui-based graphical interface" ON)
2+
3+
message(STATUS "ImGui Interface: ${BUILD_IMGUI_INTERFACE}")
4+
15
add_subdirectory(qt)
2-
add_subdirectory(imgui)
6+
7+
if(BUILD_IMGUI_INTERFACE)
8+
add_subdirectory(imgui)
9+
endif()

0 commit comments

Comments
 (0)