cmake: tex2lyx fix, don't include regular font.h code -> define the include guard macro

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18115 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2007-04-30 12:07:05 +00:00
parent 7b06307cc6
commit 9a38825fed

View File

@ -46,7 +46,7 @@ include_directories(BEFORE ${TOP_SRC_DIR}/src/tex2lyx)
if(MSVC)
SET_SOURCE_FILES_PROPERTIES(${TOP_SRC_DIR}/src/Layout.cpp ${TOP_SRC_DIR}/src/TextClass.cpp
PROPERTIES COMPILE_FLAGS
"/FI${TOP_SRC_DIR}/src/tex2lyx/Font.h /FI${TOP_SRC_DIR}/src/tex2lyx/Spacing.h")
"/DFONT_H /FI${TOP_SRC_DIR}/src/tex2lyx/Font.h /FI${TOP_SRC_DIR}/src/tex2lyx/Spacing.h")
else(MSVC)
SET_SOURCE_FILES_PROPERTIES(${TOP_SRC_DIR}/src/Layout.cpp ${TOP_SRC_DIR}/src/TextClass.cpp
PROPERTIES COMPILE_FLAGS