From c75db6757a03ba74a2908fadb8401c6d0bc40d5d Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Thu, 26 Sep 2013 22:58:22 +0200 Subject: [PATCH] Remove the TEX2LYX define when compiling tex2lyx --- src/tex2lyx/CMakeLists.txt | 2 -- src/tex2lyx/Makefile.am | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/tex2lyx/CMakeLists.txt b/src/tex2lyx/CMakeLists.txt index 789c3f86af..a744b50552 100644 --- a/src/tex2lyx/CMakeLists.txt +++ b/src/tex2lyx/CMakeLists.txt @@ -29,8 +29,6 @@ include_directories(BEFORE ${TOP_SRC_DIR}/src/support/minizip ${ZLIB_INCLUDE_DIR}) -add_definitions(-DTEX2LYX) - if(WIN32) set(FILE_RC ${TOP_CMAKE_PATH}/lyx.rc) message(STATUS "Using icon defined in resource file: ${FILE_RC}") diff --git a/src/tex2lyx/Makefile.am b/src/tex2lyx/Makefile.am index 2f1c853ffb..0aa887ebf4 100644 --- a/src/tex2lyx/Makefile.am +++ b/src/tex2lyx/Makefile.am @@ -16,7 +16,7 @@ bin_PROGRAMS = tex2lyx DEFAULT_INCLUDES = -AM_CPPFLAGS += -DTEX2LYX $(PCH_FLAGS) -I$(top_srcdir)/src/tex2lyx \ +AM_CPPFLAGS += $(PCH_FLAGS) -I$(top_srcdir)/src/tex2lyx \ -I$(top_srcdir)/src -I$(top_builddir) $(BOOST_INCLUDES) TEST_FILES = \