foreach(_src insets/InsetLayout Color Counters
Encoding FloatList Floating
- Layout LayoutModuleList Lexer ModuleList TextClass)
+ Layout LayoutModuleList Lexer ModuleList TextClass
+ FontInfo Spacing)
list(APPEND LINKED_sources ${TOP_SRC_DIR}/src/${_src}.cpp)
list(APPEND LINKED_headers ${TOP_SRC_DIR}/src/${_src}.h)
endforeach(_src)
add_definitions(-DTEX2LYX)
-if(NOT MERGE_FILES)
+if(NOT LYX_MERGE_FILES)
add_executable(${_tex2lyx} ${tex2lyx_sources} ${LINKED_sources}
${tex2lyx_headers} ${LINKED_headers})
else()
add_executable(${_tex2lyx} ${_allinone_files} ${_allinone_linked_files})
endif()
-
target_link_libraries(${_tex2lyx}
support
- boost_regex
+ ${Lyx_Boost_Libraries}
${QT_QTCORE_LIBRARY}
${LIBINTL_LIBRARIES}
- ${ICONV_LIBRARY})
+ ${ICONV_LIBRARY}
+ ${OPENSSL_LIBRARIES})
if(WIN32)
- target_link_libraries(${_tex2lyx} shlwapi ole32)
+ target_link_libraries(${_tex2lyx} shlwapi ole32 psapi)
endif()
if(APPLE)