Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "cmake used function() instead of macro()"
It must be macro() because the cmake_dependent_option() sets a local variable when the <depends> is FALSE, what means, if this is the function() the variable will be undefined outside the scope. This reverts commit dc24dd4.
- Loading branch information