Subversion Repositories Scribus

Rev

Rev 24704 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
21543 craig 1
include_directories(
20592 fschmid 2
	${CMAKE_SOURCE_DIR}
3
	${CMAKE_SOURCE_DIR}/scribus
4
)
5
 
21543 craig 6
set(DOCX_IM_PLUGIN_SOURCES
20592 fschmid 7
	docxim.cpp
8
)
9
 
21543 craig 10
set(SCRIBUS_DOCX_IM_PLUGIN "docximplugin")
20592 fschmid 11
 
21543 craig 12
add_library(${SCRIBUS_DOCX_IM_PLUGIN} MODULE ${DOCX_IM_PLUGIN_SOURCES})
20592 fschmid 13
 
24709 jghali 14
target_link_libraries(${SCRIBUS_DOCX_IM_PLUGIN} ${EXE_NAME} ${SCRIBUS_ZIP_LIB})
20592 fschmid 15
 
24275 craig 16
if(WANT_PCH)
17
	target_precompile_headers(${SCRIBUS_DOCX_IM_PLUGIN} PRIVATE "../../plugins_pch.h")
18
endif()
19
 
21543 craig 20
install(TARGETS ${SCRIBUS_DOCX_IM_PLUGIN}
20592 fschmid 21
	LIBRARY
22
	DESTINATION ${PLUGINDIR}gettext
23
	PERMISSIONS ${PLUGIN_PERMISSIONS}
24
)