Browse Source

fixing IGL_NO_HEADER

Former-commit-id: 85c8912bb85f3da78b8674f5dc2e7d6c01f6913d
Romain Prévost 9 years ago
parent
commit
46c56ae75a
2 changed files with 2 additions and 2 deletions
  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&);