Fixed GLM_HAS_OPENMP when OpenMP is not enabled

master
Christophe Riccio ago%!(EXTRA string=8 years)
parent 49435a09da
commit 1e7d12b91b
  1. 4
      glm/detail/setup.hpp
  2. 1
      readme.md

@ -503,7 +503,9 @@
# endif # endif
# else # else
# define GLM_HAS_OPENMP 0 # define GLM_HAS_OPENMP 0
# endif// GLM_COMPILER & GLM_COMPILER_VC # endif
#else
# define GLM_HAS_OPENMP 0
#endif #endif
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////

@ -93,6 +93,7 @@ glm::mat4 camera(float Translate, glm::vec2 const & Rotate)
- Fixed quat normalize build error #656 - Fixed quat normalize build error #656
- Fixed Visual C++ 2017.2 warning regarding __has_feature definision #655 - Fixed Visual C++ 2017.2 warning regarding __has_feature definision #655
- Fixed documentation warnings - Fixed documentation warnings
- Fixed GLM_HAS_OPENMP when OpenMP is not enabled
#### Deprecation: #### Deprecation:
- Requires Visual Studio 2013, GCC 4.7, Clang 3.4, Cuda 7, ICC 2013 or a C++11 compiler - Requires Visual Studio 2013, GCC 4.7, Clang 3.4, Cuda 7, ICC 2013 or a C++11 compiler

Loading…
Cancel
Save