summaryrefslogtreecommitdiff
path: root/adm/cmake/TKDraw/CMakeLists.txt
blob: 27210599c0099a61a268a50f7f3ec88ea1188c7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
SET(TOOLKIT TKDraw)

SET(TOOLKIT_MODULES
	Draw
	DBRep
	DrawTrSurf
)
SET(TOOLKIT_DEPENDS
	TKernel
	TKG3d
	TKMath
	TKBRep
	TKMesh
	TKTopAlgo
	TKG2d
	TKHLR
	TKGeomBase
	TKGeomAlgo
	TKService
)

SET(TOOLKIT_INCLUDE_DIRECTORIES ${TCL_INCLUDE_PATH})
SET(TOOLKIT_LIBS ${TCL_LIBRARY} ${CSF_gdi32_LIB} ${CSF_advapi32_LIB} ${CSF_user32_LIB})

IF(NOT WIN32)
	SET(TOOLKIT_INCLUDE_DIRECTORIES ${TOOLKIT_INCLUDE_DIRECTORIES} ${X11_X11_INCLUDE_PATH} ${TK_INCLUDE_PATH})
	SET(TOOLKIT_LIBS ${TOOLKIT_LIBS} ${TK_LIBRARY} ${X11_X11_LIB})
ENDIF(NOT WIN32)

SET(TOOLKIT_IS_PRIVATE TRUE)

INCLUDE(../BuildToolkit.cmake)