From 9a38825fedc2b4e37df557ad5678ac4ad3ed2111 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20K=C3=BCmmel?= Date: Mon, 30 Apr 2007 12:07:05 +0000 Subject: [PATCH] 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 --- development/cmake/src/tex2lyx/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/development/cmake/src/tex2lyx/CMakeLists.txt b/development/cmake/src/tex2lyx/CMakeLists.txt index 8949bdcaf7..94dda9c4a8 100644 --- a/development/cmake/src/tex2lyx/CMakeLists.txt +++ b/development/cmake/src/tex2lyx/CMakeLists.txt @@ -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 -- 2.39.2