adjust tex2lyx cmake build

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19740 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-08-22 23:33:14 +00:00
parent ef521debc2
commit 87a901784c

View File

@ -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)