Subversion Repositories Scribus

Rev

Rev 21542 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/scribus
${FREETYPE_INCLUDE_DIRS}
)


INCLUDE("generatedfiles.cmake")

# IF(QT4_WRAP_CPP)
  QT4_WRAP_CPP(SCRIBUS_RELAXNG_MOC_SOURCES ${SCRIBUS_RELAXNG_HEADERS})
# ENDIF(QT4_WRAP_CPP)



SET(SCRIBUS_RELAXNG_LIB "scribus_relaxng_lib")
ADD_LIBRARY(${SCRIBUS_RELAXNG_LIB} STATIC ${SCRIBUS_RELAXNG_SOURCES} ${SCRIBUS_RELAXNG_MOC_SOURCES})
# This is a convenience library that for linkage purposes is part of Scribus's
# main API.
SET_TARGET_PROPERTIES(${SCRIBUS_RELAXNG_LIB}
  PROPERTIES
  COMPILE_FLAGS -DCOMPILE_SCRIBUS_MAIN_APP
  )