mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
7b06307cc6
commit
9a38825fed
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user