Remove the TEX2LYX define when compiling tex2lyx

This commit is contained in:
Vincent van Ravesteijn 2013-09-26 22:58:22 +02:00
parent 8164fea772
commit c75db6757a
2 changed files with 1 additions and 3 deletions

View File

@ -29,8 +29,6 @@ include_directories(BEFORE
${TOP_SRC_DIR}/src/support/minizip ${TOP_SRC_DIR}/src/support/minizip
${ZLIB_INCLUDE_DIR}) ${ZLIB_INCLUDE_DIR})
add_definitions(-DTEX2LYX)
if(WIN32) if(WIN32)
set(FILE_RC ${TOP_CMAKE_PATH}/lyx.rc) set(FILE_RC ${TOP_CMAKE_PATH}/lyx.rc)
message(STATUS "Using icon defined in resource file: ${FILE_RC}") message(STATUS "Using icon defined in resource file: ${FILE_RC}")

View File

@ -16,7 +16,7 @@ bin_PROGRAMS = tex2lyx
DEFAULT_INCLUDES = 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) -I$(top_srcdir)/src -I$(top_builddir) $(BOOST_INCLUDES)
TEST_FILES = \ TEST_FILES = \