BUG: CLAPACK was building its libraries directly in CMAKE_ARCHIVE_OUTPUT_DIRECTORY. The packages using CLAPACK were trying to find the libraries in the directories in which they are normally built by default, inside the package.
We remove CMake variables that were changing the output folder of those libraries. If we don't, packages that need those libraries will not find them
We generate COMMON_EXTERNAL_PROJECT_ARGS without those CMake variables and then once CLAPACK is configured, we reset COMMON_EXTERNAL_PROJECT_ARGS