IF(NOT WT_HAS_WRASTERIMAGE)

  MESSAGE(STATUS "** Not building style example: requires WRasterImage.")

ELSE(NOT WT_HAS_WRASTERIMAGE)

  WT_ADD_EXAMPLE(styleexample.wt CornerImage.C RoundedWidget.C StyleExample.C)

  INCLUDE_DIRECTORIES(
   ${WT_INCLUDE_DIR}
  )

  ADD_DEPENDENCIES(styleexample.wt wt ${EXAMPLES_CONNECTOR})
  TARGET_LINK_LIBRARIES(styleexample.wt ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES} ${GD_LIBRARIES})

ENDIF(NOT WT_HAS_WRASTERIMAGE)

