From: Peter Kümmel Date: Mon, 30 Apr 2007 12:07:05 +0000 (+0000) Subject: cmake: tex2lyx fix, don't include regular font.h code -> define the include guard... X-Git-Tag: 1.6.10~9967 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9a38825fedc2b4e37df557ad5678ac4ad3ed2111;p=features.git 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 --- 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