Merge branch 'master' into blender2.8
[blender.git] / source / blender / ikplugin / CMakeLists.txt
index 903267c561805e6eac2abc1c196907e3d97f3a53..8991e113410d364bda8547b067f464577dea0144 100644 (file)
@@ -23,6 +23,8 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
+remove_extra_strict_flags()
+
 set(INC 
        .
        ../blenkernel
@@ -56,9 +58,11 @@ endif()
 if(WITH_IK_ITASC)
        add_definitions(-DWITH_IK_ITASC)
        list(APPEND INC
-               ../../../extern/Eigen3
                ../../../intern/itasc
        )
+       list(APPEND INC_SYS
+               ${EIGEN3_INCLUDE_DIRS}
+       )
        list(APPEND SRC
                intern/itasc_plugin.cpp
                intern/itasc_plugin.h