Don't build static library when BUILD_TESTING=OFF
ClosedPublic

Authored by arojas on Oct 11 2019, 6:35 AM.

Details

Summary

Since the static library is only used for autotests, don't waste CPU cycles when not building them

Test Plan

Builds with and without BUILD_TESTING

Diff Detail

Repository
R245 Solid
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
arojas created this revision.Oct 11 2019, 6:35 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptOct 11 2019, 6:35 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
arojas requested review of this revision.Oct 11 2019, 6:35 AM
apol accepted this revision.Oct 11 2019, 9:48 AM
This revision is now accepted and ready to land.Oct 11 2019, 9:48 AM
This revision was automatically updated to reflect the committed changes.