pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cmake and qt5



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
> 
> ?
> 
> P

Is this still a problem? I tried to build with the attached files and
they find Qt5Core without a problem.
"make show-vars VARNAME=QTDIR" shows /qt5 here as well and Qt5Core is
found.

/Niclas Rosenvik 

Attachment: cmaketest-0.0.1.tar.gz
Description: application/gzip

# $NetBSD$

DISTNAME=	cmaketest-0.0.1
CATEGORIES=	wip
MASTER_SITES=	http://localhost/~niclas/

MAINTAINER=	INSERT_YOUR_MAIL_ADDRESS_HERE
HOMEPAGE=	http://localhost/~niclas/
COMMENT=	TODO: Short description of the package
#LICENSE=	# TODO: (see mk/license.mk)

USE_CMAKE=	yes
USE_LANGUAGES=	c++

BUILD_MAKE_FLAGS+=	VERBOSE=1

.include "../../devel/pcre/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

Attachment: distinfo
Description: Binary data



Home | Main Index | Thread Index | Old Index