summaryrefslogtreecommitdiffstats
path: root/Modules/FindQuickTime.cmake
diff options
context:
space:
mode:
authorSylvain Joubert <joubert.sy@gmail.com>2019-02-27 11:47:07 (GMT)
committerSylvain Joubert <joubert.sy@gmail.com>2019-02-27 12:04:07 (GMT)
commitf20eab9cdc26ffbacb32e5942e2969058e50581a (patch)
tree47204ce04ccd53cc5bfd17a33853ec81649ef41b /Modules/FindQuickTime.cmake
parentb3191a0f5740d5efa5d6286d3f7c2b9356fa87c0 (diff)
downloadCMake-f20eab9cdc26ffbacb32e5942e2969058e50581a.zip
CMake-f20eab9cdc26ffbacb32e5942e2969058e50581a.tar.gz
CMake-f20eab9cdc26ffbacb32e5942e2969058e50581a.tar.bz2
ProcessorCount: Return the container CPU count instead of the host count
On Linux containers (tested with LXC and Docker) getconf returns the host CPU count. Use nproc with a higher priority if available to get the container's allocated CPUs instead of the non-accessible host count.
Diffstat (limited to 'Modules/FindQuickTime.cmake')
0 files changed, 0 insertions, 0 deletions