From 6124d7873529aa82c5b809d009567d1a37edee58 Mon Sep 17 00:00:00 2001 From: dfighter1985 Date: Thu, 2 May 2013 20:19:35 +0200 Subject: [PATCH] Don't build GUI Editor when not building the GUI library. --- code/nel/tools/3d/object_viewer_qt/src/plugins/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/nel/tools/3d/object_viewer_qt/src/plugins/CMakeLists.txt b/code/nel/tools/3d/object_viewer_qt/src/plugins/CMakeLists.txt index 945e0825f..43900fe9e 100644 --- a/code/nel/tools/3d/object_viewer_qt/src/plugins/CMakeLists.txt +++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/CMakeLists.txt @@ -6,7 +6,11 @@ ADD_SUBDIRECTORY(log) ADD_SUBDIRECTORY(disp_sheet_id) ADD_SUBDIRECTORY(object_viewer) ADD_SUBDIRECTORY(georges_editor) + +IF(WITH_GUI) ADD_SUBDIRECTORY(gui_editor) +ENDIF(WITH_GUI) + ADD_SUBDIRECTORY(translation_manager) ADD_SUBDIRECTORY(bnp_manager) # Note: Temporarily disabled until development continues.