#endif
-
-#cmakedefine ENABLE_ASSERTIONS 1
+#ifdef _DEBUG
+# define ENABLE_ASSERTIONS 1
+#endif
#if !defined(ENABLE_ASSERTIONS)
# define BOOST_DISABLE_ASSERTS 1
#pragma warning( disable : 4800 ) //: forcing value to bool 'true' or 'false' (performance warning)
#endif
-#ifdef LYX_PRECOMPILED_HEADERS
-# include "pcheaders.h"
-# ifdef LYX_BUILD_QT4_FRONTEND
-# include <QtCore>
-# include <QtGUI>
-# endif
+#ifdef LYX_ENABLE_PCH
+#include "pcheaders.h"
#endif
#endif