[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-cvs
Subject:    [LyX/master] Remove the TEX2LYX define when compiling tex2lyx
From:       Vincent van Ravesteijn <vfr () lyx ! org>
Date:       2013-09-29 15:03:23
Message-ID: 20130929150323.F34E028061B () lyx ! lyx ! org
[Download RAW message or body]

commit c75db6757a03ba74a2908fadb8401c6d0bc40d5d
Author: Vincent van Ravesteijn <vfr@lyx.org>
Date:   Thu Sep 26 22:58:22 2013 +0200

    Remove the TEX2LYX define when compiling tex2lyx

diff --git a/src/tex2lyx/CMakeLists.txt b/src/tex2lyx/CMakeLists.txt
index 789c3f8..a744b50 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 2f1c853..0aa887e 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 = \

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic