pkgsrc/mk/tools/cmake.mk
markd 4767fe7dc4 Doing USE_TOOLS+=cmake in the configure stage is too late so move it
to tools.  Also cmake wants cpack to exist in the same directory so
toolise it and make cmake and cpack imply each other.
2007-12-18 10:18:39 +00:00

14 lines
362 B
Makefile

# $NetBSD: cmake.mk,v 1.1 2007/12/18 10:18:44 markd Exp $
#
# This file needs to be included before replace.mk as it modifies the
# USE_TOOLS variables that are used by replace.mk.
#
.if defined(USE_CMAKE)
USE_TOOLS+= cmake cpack
.endif
# cmake and cpack imply each other
.if !empty(USE_TOOLS:Mcmake) || !empty(USE_TOOLS:Mcpack)
USE_TOOLS+= cmake cpack
.endif