Detecting External Libraries and Programs

In this chapter, we will cover the following recipes:

  • Detecting the Python interpreter
  • Detecting the Python library
  • Detecting Python modules and packages
  • Detecting the BLAS and LAPACK math libraries
  • Detecting the OpenMP parallel environment
  • Detecting the MPI parallel environment
  • Detecting the Eigen library
  • Detecting the Boost libraries
  • Detecting external libraries: I. Using pkg-config
  • Detecting external libraries: II. Writing a find-module

Get CMake Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.