Subversion Repositories Scribus

Rev

Rev 8671 | Rev 9672 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5142 cbradney 1
INCLUDE_DIRECTORIES(
2
${CMAKE_SOURCE_DIR}
3
${CMAKE_SOURCE_DIR}/scribus
4
)
5
 
6
SET(OODRAW_FL_PLUGIN_MOC_CLASSES
7
oodrawimp.h
8
)
9
 
10
SET(OODRAW_FL_PLUGIN_SOURCES
11
oodrawimp.cpp
12
stylestack.cpp
13
)
14
 
15
SET(SCRIBUS_OODRAW_FL_PLUGIN "oodrawimp")
16
 
8671 cbradney 17
#IF(QT4_WRAP_CPP)
8499 cbradney 18
  QT4_WRAP_CPP(OODRAW_FL_PLUGIN_MOC_SOURCES ${OODRAW_FL_PLUGIN_MOC_CLASSES})
8671 cbradney 19
#ENDIF(QT4_WRAP_CPP)
5142 cbradney 20
 
21
ADD_LIBRARY(${SCRIBUS_OODRAW_FL_PLUGIN} MODULE ${OODRAW_FL_PLUGIN_SOURCES} ${OODRAW_FL_PLUGIN_MOC_SOURCES})
22
 
8782 avox 23
IF(APPLE)
24
  TARGET_LINK_LIBRARIES(${SCRIBUS_OODRAW_FL_PLUGIN} "-undefined dynamic_lookup")
25
ENDIF(APPLE)
26
 
5142 cbradney 27
INSTALL(TARGETS ${SCRIBUS_OODRAW_FL_PLUGIN}
28
  LIBRARY
29
  DESTINATION ${PLUGINDIR}
30
  PERMISSIONS ${PLUGIN_PERMISSIONS}
31
)
32
 
33
# SET_TARGET_PROPERTIES(${SCRIBUS_FONTPREVIEW_PLUGIN} PROPERTIES VERSION "0.0.0")