Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: initialize
BUILD_TESTING
before first use
Before this patch `BUILD_TESTING` was used once, then initialized, then used again. This caused the `curlu` library not being built when relying on an implicit `BUILD_TESTING=ON` setting, and ending up with a link error when building the `testdeps` target. It did not cause issues when `BUILD_TESTING` was explicitly set. Move the initialization before the first use to fix it. Regression from aace27b #12287 Closes #13668
- Loading branch information