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(
18448 craig 2
	${CMAKE_SOURCE_DIR}
3
	${CMAKE_SOURCE_DIR}/scribus
5142 cbradney 4
)
5
 
21543 craig 6
set(OODRAW_FL_PLUGIN_SOURCES
18448 craig 7
	oodrawimp.cpp
8
	stylestack.cpp
5142 cbradney 9
)
10
 
21543 craig 11
set(SCRIBUS_OODRAW_FL_PLUGIN "oodrawimp")
5142 cbradney 12
 
24494 craig 13
add_library(${SCRIBUS_OODRAW_FL_PLUGIN} MODULE ${OODRAW_FL_PLUGIN_SOURCES})
5142 cbradney 14
 
24709 jghali 15
target_link_libraries(${SCRIBUS_OODRAW_FL_PLUGIN} ${EXE_NAME} ${SCRIBUS_ZIP_LIB})
8782 avox 16
 
24275 craig 17
if(WANT_PCH)
18
	target_precompile_headers(${SCRIBUS_OODRAW_FL_PLUGIN} PRIVATE "../../plugins_pch.h")
19
endif()
20
 
21543 craig 21
install(TARGETS ${SCRIBUS_OODRAW_FL_PLUGIN}
18448 craig 22
	LIBRARY
23
	DESTINATION ${PLUGINDIR}
24
	PERMISSIONS ${PLUGIN_PERMISSIONS}
5142 cbradney 25
)