CMake Error at C:/Program Files/CMake/share/cmake-3.27/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
By not providing "Findw32-pthreads.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"w32-pthreads", but CMake did not find one.
Could not find a package configuration file provided by "w32-pthreads" with
any of the following names:
Add the installation prefix of "w32-pthreads" to CMAKE_PREFIX_PATH or set
"w32-pthreads_DIR" to a directory containing one of the above files. If
"w32-pthreads" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
C:/workspace/obs/obs-studio/build_x64/libobs/libobsConfig.cmake:30 (find_dependency)
CMakeLists.txt:50 (find_package)
complies obs for vs2022,
cmake -DCMAKE_PREFIX_PATH="C:\workspace\obs\obs-studio\build_x64" error
CMake Error at C:/Program Files/CMake/share/cmake-3.27/Modules/CMakeFindDependencyMacro.cmake:76 (find_package): By not providing "Findw32-pthreads.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "w32-pthreads", but CMake did not find one.
Could not find a package configuration file provided by "w32-pthreads" with any of the following names:
Add the installation prefix of "w32-pthreads" to CMAKE_PREFIX_PATH or set "w32-pthreads_DIR" to a directory containing one of the above files. If "w32-pthreads" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): C:/workspace/obs/obs-studio/build_x64/libobs/libobsConfig.cmake:30 (find_dependency) CMakeLists.txt:50 (find_package)