mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Mac build: correctly deal with no printing
Including working around a weird hack to install the Grantlee plugins. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a629eb7070
commit
20f5609a6c
2 changed files with 3 additions and 1 deletions
|
@ -397,7 +397,7 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
|||
install(FILES ${QTTRANSLATIONS} DESTINATION ${RESOURCEDIR}/translations)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/gpl-2.0.txt DESTINATION ${RESOURCEDIR})
|
||||
# this is a HACK
|
||||
if(${SUBSURFACE_TARGET_EXECUTABLE} MATCHES "DesktopExecutable")
|
||||
if((${SUBSURFACE_TARGET_EXECUTABLE} MATCHES "DesktopExecutable") AND (NOT NO_PRINTING))
|
||||
install(DIRECTORY ${Grantlee5_DIR}/../../grantlee DESTINATION ${PLUGINDIR})
|
||||
endif()
|
||||
# this is a hack - but I don't know how else to find the macdeployqt program if it's not in the PATH
|
||||
|
|
|
@ -403,6 +403,8 @@ if [ "$BUILDGRANTLEE" = "1" ] ; then
|
|||
$SRC/grantlee
|
||||
make -j4
|
||||
make install
|
||||
else
|
||||
PRINTING="-DNO_PRINTING=ON"
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue