[CMake] cmake and dependencies

schoappied schoappied at gmail.com
Thu Jul 23 12:30:55 EDT 2009


Hi,


I try to compile a package on Windows with latest Cmake.
I've installed libsndfile-1 and libsndfile1-dev

But I got this error:

checking for module 'sndfile>=1.0.11'
  package 'sndfile>=1.0.11' not found
CMake Error at cmake/modules/FindPkgConfig.cmake:270 (message):
  A required package was not found
Call Stack (most recent call first):
  cmake/modules/FindPkgConfig.cmake:322 (_pkg_check_modules_internal)
  CMakeLists.txt:116 (PKG_CHECK_MODULES)


CMake Error at CMakeLists.txt:118 (MESSAGE):
  LMMS requires libsndfile1 and libsndfile1-dev >= 1.0.11 - please install,
  remove CMakeCache.txt and try again!


How can I make sure CMake finds those files?

Thanks in advance,

~D



More information about the CMake mailing list