Fix hwloc find package naming and quietness issues
commitb69d64ddc1afe96215684ea8341eb19b2593042b
authorSzilárd Páll <pall.szilard@gmail.com>
Wed, 31 Jul 2019 19:09:30 +0000 (31 21:09 +0200)
committerSzilárd Páll <pall.szilard@gmail.com>
Mon, 12 Aug 2019 09:22:07 +0000 (12 11:22 +0200)
tree664d9399e0de2b6b30e98b946fcf2d4984233572
parentfc7bf8e442b6124d259305a0b08f6f8febd329cd
Fix hwloc find package naming and quietness issues

Due to compound issues the hwloc detection has been more noisy at
subsequent cmake executions than it should.
This change corrects the module naming to "HWLOC" as this is the prefix
the variables the modules defines. Also implemented an internal cache
variable to detect subsequent calls to the hwloc detection.

Change-Id: I13c82277b1edf577ebdc4791d6cb2576c5ff434d
CMakeLists.txt
cmake/FindHWLOC.cmake [moved from cmake/FindHwloc.cmake with 98% similarity]