[mapguide-commits] r9594 - trunk/MgDev/Server/src/Core
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Mon Aug 19 15:23:19 PDT 2019
Author: jng
Date: 2019-08-19 15:23:19 -0700 (Mon, 19 Aug 2019)
New Revision: 9594
Modified:
trunk/MgDev/Server/src/Core/CMakeLists.txt
Log:
Fix path stamping of mapguidectl for CMake build
Modified: trunk/MgDev/Server/src/Core/CMakeLists.txt
===================================================================
--- trunk/MgDev/Server/src/Core/CMakeLists.txt 2019-08-16 15:28:42 UTC (rev 9593)
+++ trunk/MgDev/Server/src/Core/CMakeLists.txt 2019-08-19 22:23:19 UTC (rev 9594)
@@ -110,7 +110,7 @@
install(TARGETS mgserver DESTINATION ${MG_SERVER_BIN_DIR} COMPONENT ${MG_COMPONENT})
if (UNIX)
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/mapguidectl DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
- execute_process(COMMAND sed -i "s#/usr/local/mapguideopensource/server#${MG_INSTALL_SERVER_PREFIX}#g" ${CMAKE_CURRENT_BINARY_DIR}/mapguidectl)
+ execute_process(COMMAND sed -i "s#/usr/local/mapguideopensource/server#${MG_INSTALL_SERVER_PREFIX_ABS}#g" ${CMAKE_CURRENT_BINARY_DIR}/mapguidectl)
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/mapguidectl DESTINATION ${MG_SERVER_BIN_DIR} COMPONENT ${MG_COMPONENT})
endif (UNIX)
More information about the mapguide-commits
mailing list