set(CMAKE_TOOLCHAIN_FILE "c:/vcpkg/scripts/buildsystems/vcpkg.cmake")set(VCPKG_DEFAULT_TRIPLET "x86-mingw-static")find_package(LibSndFile CONFIG REQUIRED)target_link_libraries(main PRIVATE sndfile-static)
CMake Error at C:/vcpkg/scripts/buildsystems/vcpkg.cmake:455 (_find_package): Could not find a package configuration file provided by "LibSndFile" with any of the following names: LibSndFileConfig.cmake libsndfile-config.cmake
Работа c:\Qt\Tools\CMake_32\bin\cmake.exe "-GCodeBlocks - Ninja" C:/Docs/~DP/demodulators/examples/jsm-qt на C:\Docs\~DP\.tmp\demodulators\examples\build-jsm-qt-Desktop_Qt_5_15_0_MinGW_32_bit-Debug.CMake Error at C:/Docs/~DP/vcpkg/scripts/buildsystems/vcpkg.cmake:455 (_find_package): Could not find a configuration file for package "LibSndFile" that is compatible with requested version "". The following configuration files were considered but not accepted: C:/Docs/~DP/vcpkg/installed/x86-mingw-static/share/libsndfile/LibSndFileConfig.cmake, version: 1.0.29 (64bit)Call Stack (most recent call first): CMakeLists.txt:15 (find_package)