C-Chads / tinygl

The penultimate portable graphics library
Other
453 stars 53 forks source link

Only use OpenMP when _OPENMP is defined, and enable OpenMP in CMake builds #13

Closed ccawley2011 closed 3 years ago

ccawley2011 commented 3 years ago

Is _OPENMP defined if openmp is enabled by the compiler?

As far as I can tell, it is. (Source: https://stackoverflow.com/questions/1304363/how-to-check-the-version-of-openmp-on-linux)