###### Fusion ##### file(COPY "fusion" DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) 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 ###### # TODO: We have geos in-tree, which is CMake-enabled, so if required we can use # the internal copy of geos if required through an option like INTERNAL_GEOS # at the moment, we are just using the system-provided version of GEOS #set(GEOS_ENABLE_TESTS OFF) #add_subdirectory(geos) add_subdirectory(DWFTK) add_subdirectory(CsMapLibrary) add_subdirectory(SWIGEx) add_subdirectory(LinuxApt)