Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed missing _USE_MATH_DEFINES preprocessor definition
When generating solution by multiple configure, then generate combo instead of single configure, generate combo or generate alone, _USE_MATH_DEFINES preprocessor definition is not populated. Alternative solution is to add unset(HAVE_M_PI CACHE) in the else block just after add_definitions(-D_USE_MATH_DEFINES), but the proposed way avoids unnecessary checks each time the project is configured.
- Loading branch information