From 87a901784c10b6327cef4f1e2fe95ff87e01c5df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Wed, 22 Aug 2007 23:33:14 +0000 Subject: [PATCH] adjust tex2lyx cmake build git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19740 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/cmake/src/tex2lyx/CMakeLists.txt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/development/cmake/src/tex2lyx/CMakeLists.txt b/development/cmake/src/tex2lyx/CMakeLists.txt index 38fcc3e643..aa56fa52e1 100644 --- a/development/cmake/src/tex2lyx/CMakeLists.txt +++ b/development/cmake/src/tex2lyx/CMakeLists.txt @@ -43,15 +43,7 @@ set(tex2lyx_headers include_directories(BEFORE ${TOP_SRC_DIR}/src/tex2lyx) -if(MSVC) - SET_SOURCE_FILES_PROPERTIES(${tex2lyx_sources} ${LINKED_FILES} - PROPERTIES COMPILE_FLAGS - "/DFONT_H /FI${TOP_SRC_DIR}/src/tex2lyx/Font.h /FI${TOP_SRC_DIR}/src/tex2lyx/Spacing.h") -else(MSVC) - SET_SOURCE_FILES_PROPERTIES(${tex2lyx_sources} ${LINKED_FILES} - PROPERTIES COMPILE_FLAGS - "-DFONT_H -include ${TOP_SRC_DIR}/src/tex2lyx/Font.h -include ${TOP_SRC_DIR}/src/tex2lyx/Spacing.h") -endif(MSVC) +add_definitions(-DTEX2LYX) #TODO #if(NOT MERGE_FILES)