From: tbaudier Date: Thu, 9 Jun 2016 08:00:28 +0000 (+0200) Subject: Ensure CLITK_EXPERIMENTAL is defined X-Git-Tag: v1.4.0~21^2~9 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=5a3b267d800a086e0d7cc17ff5b334927e7562de;p=clitk.git Ensure CLITK_EXPERIMENTAL is defined (needed for static compilation) --- diff --git a/vv/vvMainWindow.cxx b/vv/vvMainWindow.cxx index 9d29824..3da4be7 100644 --- a/vv/vvMainWindow.cxx +++ b/vv/vvMainWindow.cxx @@ -378,6 +378,9 @@ vvMainWindow::vvMainWindow():vvMainWindowBase() vvToolManager::GetInstance()->InsertToolsInMenu(this); vvToolManager::GetInstance()->EnableToolsInMenu(this, false); +#ifndef CLITK_EXPERIMENTAL +#define CLITK_EXPERIMENTAL 0 +#endif if (!CLITK_EXPERIMENTAL) menuExperimental->menuAction()->setVisible(false);