[mapguide-commits] r9314 - sandbox/jng/cmake_v2/Oem
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Thu Jan 11 03:11:54 PST 2018
Author: jng
Date: 2018-01-11 03:11:54 -0800 (Thu, 11 Jan 2018)
New Revision: 9314
Modified:
sandbox/jng/cmake_v2/Oem/CMakeLists.txt
Log:
Fix tcpdf cache dir permissions on install
Modified: sandbox/jng/cmake_v2/Oem/CMakeLists.txt
===================================================================
--- sandbox/jng/cmake_v2/Oem/CMakeLists.txt 2018-01-10 18:37:48 UTC (rev 9313)
+++ sandbox/jng/cmake_v2/Oem/CMakeLists.txt 2018-01-11 11:11:54 UTC (rev 9314)
@@ -3,6 +3,10 @@
file(COPY "fusionMG" DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
set(FUSION_WORK_DIR ${CMAKE_CURRENT_BINARY_DIR}/fusion)
install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E chdir ${FUSION_WORK_DIR} ant deploy -Ddeploy.home=${MG_WWWROOT}/fusion)")
+if (UNIX)
+ # httpd's default config is to use user/group daemon/daemon, so make it own the tcpdf cache directory in order for QuickPlot to work
+ install(CODE "execute_process(COMMAND chown daemon:daemon ${MG_WWWROOT}/fusion/lib/tcpdf/cache)")
+endif (UNIX)
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/fusionMG/templates DESTINATION ${MG_WWWROOT}/fusion)
###### Everything else ######
More information about the mapguide-commits
mailing list