Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/gpencil/CMakeLists.txt')
-rw-r--r--source/blender/editors/gpencil/CMakeLists.txt20
1 files changed, 15 insertions, 5 deletions
diff --git a/source/blender/editors/gpencil/CMakeLists.txt b/source/blender/editors/gpencil/CMakeLists.txt
index 735ad8bc039..b2c618073f4 100644
--- a/source/blender/editors/gpencil/CMakeLists.txt
+++ b/source/blender/editors/gpencil/CMakeLists.txt
@@ -31,10 +31,6 @@ set(INC
../../../../intern/guardedalloc
)
-set(INC_SYS
- ${GLEW_INCLUDE_PATH}
-)
-
set(SRC
annotate_draw.c
annotate_paint.c
@@ -64,6 +60,7 @@ set(SRC
gpencil_weight_paint.c
gpencil_intern.h
+ gpencil_trace.h
)
set(LIB
@@ -71,10 +68,23 @@ set(LIB
bf_blenlib
)
+if(WITH_POTRACE)
+ list(APPEND SRC
+ gpencil_trace_ops.c
+ gpencil_trace_utils.c
+ )
+ list(APPEND INC
+ ${POTRACE_INCLUDE_DIRS}
+ )
+ list(APPEND LIB
+ ${POTRACE_LIBRARIES}
+ )
+ add_definitions(-DWITH_POTRACE)
+endif()
+
if(WITH_INTERNATIONAL)
add_definitions(-DWITH_INTERNATIONAL)
endif()
-add_definitions(${GL_DEFINITIONS})
blender_add_lib(bf_editor_gpencil "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")