]> git.lyx.org Git - features.git/commitdiff
cmake: tex2lyx fix, don't include regular font.h code -> define the include guard...
authorPeter Kümmel <syntheticpp@gmx.net>
Mon, 30 Apr 2007 12:07:05 +0000 (12:07 +0000)
committerPeter Kümmel <syntheticpp@gmx.net>
Mon, 30 Apr 2007 12:07:05 +0000 (12:07 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18115 a592a061-630c-0410-9148-cb99ea01b6c8

development/cmake/src/tex2lyx/CMakeLists.txt

index 8949bdcaf760f1fed652a495858a89afded5043e..94dda9c4a847e433a81bc670d60ba77ab57fc194 100644 (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