fix linker error (dummy functions for tex2lyx)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16894 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2007-01-27 20:48:37 +00:00
parent 9228fc49af
commit dfcc879239

View File

@ -42,6 +42,15 @@ set(tex2lyx_sources
include_directories(BEFORE ${TOP_SRC_DIR}/src/tex2lyx)
if(MSVC)
SET_SOURCE_FILES_PROPERTIES(${TOP_SRC_DIR}/src/lyxlayout.C ${TOP_SRC_DIR}/src/lyxtextclass.C
PROPERTIES COMPILE_FLAGS
"/FI${TOP_SRC_DIR}/src/tex2lyx/lyxfont.h /FI${TOP_SRC_DIR}/src/tex2lyx/Spacing.h")
else(MSVC)
SET_SOURCE_FILES_PROPERTIES(${TOP_SRC_DIR}/src/lyxlayout.C ${TOP_SRC_DIR}/src/lyxtextclass.C
PROPERTIES COMPILE_FLAGS
"-include ${TOP_SRC_DIR}/src/tex2lyx/lyxfont.h -include ${TOP_SRC_DIR}/src/tex2lyx/Spacing.h")
endif(MSVC)
add_executable(tex2lyx ${tex2lyx_sources} ${LINKED_FILES})