From: Vincent van Ravesteijn Date: Thu, 26 Sep 2013 20:58:22 +0000 (+0200) Subject: Remove the TEX2LYX define when compiling tex2lyx X-Git-Tag: 2.1.0beta2~55^2~1 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c75db6757a03ba74a2908fadb8401c6d0bc40d5d;p=features.git Remove the TEX2LYX define when compiling tex2lyx --- 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 = \