mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
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:
parent
9228fc49af
commit
dfcc879239
@ -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})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user