PortAudio / portaudio

PortAudio is a cross-platform, open-source C language library for real-time audio input and output.
Other
1.39k stars 291 forks source link

cmake: Silence configuration warning when MSVC is selected as generator. #872

Closed dmitrykos closed 6 months ago

dmitrykos commented 6 months ago

Silences CMake warning when MSVC is selected as generator:

CMake Warning at cmake/modules/FindJACK.cmake:43 (find_package):
  By not providing "Findpthreads.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "pthreads",
  but CMake did not find one.

  Could not find a package configuration file provided by "pthreads" with any
  of the following names:

    pthreadsConfig.cmake
    pthreads-config.cmake

  Add the installation prefix of "pthreads" to CMAKE_PREFIX_PATH or set
  "pthreads_DIR" to a directory containing one of the above files.  If
  "pthreads" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:138 (find_package)
dmitrykos commented 6 months ago

This PR could be merged painlessly but need one reviewer to approve.