pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: cmake and qt5
On Mon, Sep 18, 2017 at 03:03:20PM +0200, Niclas Rosenvik wrote:
> On Tue, 12 Sep 2017 08:41:07 +0100
> Patrick Welche <prlw1%cam.ac.uk@localhost> wrote:
>
> > # ls /usr/pkg/qt5/lib/cmake/Qt5Core/Qt5CoreConfig.cmake
> > /usr/pkg/qt5/lib/cmake/Qt5Core/Qt5CoreConfig.cmake
> >
> > and in CMakeCache.txt:
> >
> > //No help, variable specified on the command line.
> > CMAKE_PREFIX_PATH:PATH=/usr/pkg/qt5
> >
> > //The directory containing a CMake configuration file for Qt5Core.
> > Qt5Core_DIR:PATH=Qt5Core_DIR-NOTFOUND
The underlying problem was that the package's (scribus) CMakeLists.txt
overwrites CMAKE_PREFIX_PATH, which throws away the command line
definition (as pointed out by the good folk on the cmake lists).
Cheers,
Patrick
Home |
Main Index |
Thread Index |
Old Index