Add options explicitly to targets instead of to everything. Note: this means compile options are no longer propagated to third-party libraries included with FetchContent and ExternalProject_Add.
Move find_package calls and coverage flags to base CMakeLists.txt instead of adding them twice.
Re-arrange some CMake calls to reduce redundancy and improve readability.
Issue and/or context: Closes #2664
Changes:
FetchContent
andExternalProject_Add
.find_package
calls and coverage flags to baseCMakeLists.txt
instead of adding them twice.