[PySide] how to make cmake find a package configuration file
ZHONG Zhu
Zhu.Zhong at alcatel-sbell.com.cn
Wed Jan 9 09:00:45 CET 2013
I'm trying to cmake a project which calls
find_package(Shiboken REQUIRED)
but cmake complains about
CMake Error at CMakeLists.txt:5 (find_package):
By not providing "FindShiboken.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Shiboken",
but CMake did not find one.
Could not find a package configuration file provided by "Shiboken" with any
of the following names:
ShibokenConfig.cmake
shiboken-config.cmake
Add the installation prefix of "Shiboken" to CMAKE_PREFIX_PATH or set
"Shiboken_DIR" to a directory containing one of the above files. If
"Shiboken" provides a separate development package or SDK, be sure it has
been installed.
I do have Shiboken compiled and installed to C:\Program Files\shiboken. And I can see there are cmake files like ShibokenConfig.cmake, ShibokenConfig-python2.7.cmake, ShibokenConfigVersion.cmake under folder C:\Program Files\shiboken\lib\cmake\Shiboken-1.1.2
how do I let the cmake know it should search for ShibokenConfig.cmake in that folder?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20130109/4852ac61/attachment.html>
More information about the PySide
mailing list