Skip to content

Commit 17465f9

Browse files
authored
[image] Deactivate image gui by default (#5627)
Deactivate image gui by default
1 parent 6d147b2 commit 17465f9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

applications/plugins/image/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,10 @@ if(SOFA_BUILD_TESTS)
151151
endif()
152152

153153
if(Sofa.Qt_FOUND)
154-
add_subdirectory(image_gui)
154+
option(PLUGIN_IMAGE_COMPILE_GUI "Build Qt-based image GUI" OFF)
155+
if(PLUGIN_IMAGE_COMPILE_GUI)
156+
add_subdirectory(image_gui)
157+
endif ()
155158
endif()
156159

157160
## Install rules for the library and headers; CMake package configurations files

0 commit comments

Comments
 (0)