mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
Mk/Uses/kde.mk: Allow ports that use the KDE framework to build regression
tests when TEST_TARGET is defined. Approved by: tcberner Differential Revision: https://reviews.freebsd.org/D28271
This commit is contained in:
parent
49c4cbf395
commit
6089334c74
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=562251
@ -150,14 +150,18 @@ CMAKE_ARGS+= -DCMAKE_PREFIX_PATH="${LOCALBASE}"
|
||||
|
||||
# We set KDE_INSTALL_USE_QT_SYS_PATHS to install mkspecs files, plugins and
|
||||
# imports to the Qt 5 install directory.
|
||||
CMAKE_ARGS+= -DBUILD_TESTING:BOOL=OFF \
|
||||
-DCMAKE_MODULE_PATH="${LOCALBASE};${KDE_PREFIX}" \
|
||||
CMAKE_ARGS+= -DCMAKE_MODULE_PATH="${LOCALBASE};${KDE_PREFIX}" \
|
||||
-DCMAKE_INSTALL_PREFIX="${KDE_PREFIX}" \
|
||||
-DKDE_INSTALL_USE_QT_SYS_PATHS:BOOL=true
|
||||
|
||||
# Set man-page installation prefix.
|
||||
CMAKE_ARGS+= -DKDE_INSTALL_MANDIR:PATH="${KDE_PREFIX}/man" \
|
||||
-DMAN_INSTALL_DIR:PATH="${KDE_PREFIX}/man"
|
||||
|
||||
# Disable autotests unless TEST_TARGET is defined.
|
||||
. if !defined(TEST_TARGET)
|
||||
CMAKE_ARGS+= -DBUILD_TESTING:BOOL=false
|
||||
. endif
|
||||
# ==============================================================================
|
||||
|
||||
# === SET UP PLIST_SUB =========================================================
|
||||
|
Loading…
Reference in New Issue
Block a user