INCLUDE_DIRECTORIES(${k3d_SOURCE_DIR})
INCLUDE_DIRECTORIES(${k3dsdk_BINARY_DIR})
INCLUDE_DIRECTORIES(${k3dsdk_BINARY_DIR})
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(${K3D_GLIBMM_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(${K3D_GTKGLEXT_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(${K3D_GTKMM_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(${K3D_SIGC_INCLUDE_DIRS})

LINK_DIRECTORIES(${K3D_GTKGLEXT_LIB_DIRS})
LINK_DIRECTORIES(${K3D_GTKMM_LIB_DIRS})
LINK_DIRECTORIES(${K3D_SIGC_LIB_DIRS})

K3D_BUILD_MODULE(k3d-ngui)
K3D_CREATE_MODULE_PROXY(k3d-ngui)

INCLUDE(K3DFindGthread)

TARGET_LINK_LIBRARIES(k3d-ngui k3dsdk)
TARGET_LINK_LIBRARIES(k3d-ngui k3dsdk-ngui)
TARGET_LINK_LIBRARIES(k3d-ngui ${K3D_GLIBMM_LIBS})
TARGET_LINK_LIBRARIES(k3d-ngui ${K3D_GTKGLEXT_LIBS})
TARGET_LINK_LIBRARIES(k3d-ngui ${K3D_GTKMM_LIBS})
TARGET_LINK_LIBRARIES(k3d-ngui ${K3D_GTHREAD_LIBS})

IF(K3D_ENABLE_NLS)
	INCLUDE_DIRECTORIES(${K3D_INTL_INCLUDE_DIRS})
	TARGET_LINK_LIBRARIES(k3d-ngui ${K3D_INTL_LIBS})
ENDIF(K3D_ENABLE_NLS)

