Explorar o código

fixing IGL_NO_HEADER

Former-commit-id: 85c8912bb85f3da78b8674f5dc2e7d6c01f6913d
Romain Prévost %!s(int64=9) %!d(string=hai) anos
pai
achega
46c56ae75a
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      include/igl/jet.cpp
  2. 1 1
      include/igl/quat_to_axis_angle.cpp

+ 1 - 1
include/igl/jet.cpp

@@ -124,7 +124,7 @@ IGL_INLINE void igl::jet(
   }
 }
 
-#ifndef IGL_NO_HEADER
+#ifdef IGL_STATIC_LIBRARY
 // Explicit template specialization
 // generated by autoexplicit.sh
 template void igl::jet<Eigen::Matrix<double, -1, 1, 0, -1, 1>, Eigen::Matrix<double, -1, -1, 0, -1, -1> >(Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 1, 0, -1, 1> > const&, bool, Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> >&);

+ 1 - 1
include/igl/quat_to_axis_angle.cpp

@@ -68,7 +68,7 @@ IGL_INLINE void igl::quat_to_axis_angle_deg(
   angle = angle*(180.0/PI);
 }
 
-#ifndef IGL_NO_HEADER
+#ifdef IGL_STATIC_LIBRARY
 // Explicit template specialization
 template void igl::quat_to_axis_angle<float>(float const*, float*, float&);
 template void igl::quat_to_axis_angle_deg<float>(float const*, float*, float&);