CMake: include eigen as a system header
[blender.git] / source / blender / blenlib / CMakeLists.txt
index cc6e934d619f288aabffd5a4c3bf9e7db6080312..45b41a4a0981e923505b97eb6c81f9961fd63942 100644 (file)
@@ -23,8 +23,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-# XXX allowing blenkernel and RNA includes in blenlib is a hack,
-# but needed in a few places atm (bpath.c for instance)
 set(INC
        .
        # ../blenkernel  # dont add this back!
@@ -37,6 +35,7 @@ set(INC
 set(INC_SYS
        ${ZLIB_INCLUDE_DIRS}
        ${FREETYPE_INCLUDE_DIRS}
+       ../../../extern/Eigen3
 )
 
 set(SRC
@@ -85,8 +84,11 @@ set(SRC
        intern/math_interp.c
        intern/math_matrix.c
        intern/math_rotation.c
+       intern/math_solvers.c
+       intern/math_statistics.c
        intern/math_vector.c
        intern/math_vector_inline.c
+       intern/memory_utils.c
        intern/noise.c
        intern/path_util.c
        intern/polyfill2d.c
@@ -164,8 +166,11 @@ set(SRC
        BLI_math_interp.h
        BLI_math_matrix.h
        BLI_math_rotation.h
+       BLI_math_solvers.h
+       BLI_math_statistics.h
        BLI_math_vector.h
        BLI_memarena.h
+       BLI_memory_utils.h
        BLI_mempool.h
        BLI_noise.h
        BLI_path_util.h