]> git.lyx.org Git - features.git/commitdiff
Remove the TEX2LYX define when compiling tex2lyx
authorVincent van Ravesteijn <vfr@lyx.org>
Thu, 26 Sep 2013 20:58:22 +0000 (22:58 +0200)
committerVincent van Ravesteijn <vfr@lyx.org>
Sun, 29 Sep 2013 13:26:23 +0000 (15:26 +0200)
src/tex2lyx/CMakeLists.txt
src/tex2lyx/Makefile.am

index 789c3f86af5523ba69f4e6c1458afd7509d58e1b..a744b5055211e1a85ca35df6bb9066ca7245d931 100644 (file)
@@ -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}")
index 2f1c853ffb3f05aae119fc32e57e96ff5b7a567f..0aa887ebf4da8bb643c00ffa83dfd07afc39c024 100644 (file)
@@ -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 = \