SET(K3D_SIGC_FOUND 0)

INCLUDE(K3DFindPkgConfig)
PKG_CHECK_MODULES(SIGC sigc++-2.0)

IF(SIGC_FOUND)
	SET(K3D_SIGC_INCLUDE_DIRS
		${SIGC_INCLUDE_DIRS}
		)

	SET(K3D_SIGC_LIB_DIRS
		${SIGC_LIBRARY_DIRS}
		)

	SET(K3D_SIGC_LIBS
		${SIGC_LIBRARIES}
		)

	SET(K3D_SIGC_FOUND 1)

	ADD_DEFINITIONS(-DK3D_HAVE_SIGC_2_0)

ENDIF(SIGC_FOUND)

