summaryrefslogtreecommitdiff
path: root/library/CMakeLists.txt
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-03-15 11:07:43 +0400
committerAlexander Gavrilov2012-03-15 11:07:43 +0400
commite7851f5abdd1a84d29020f2789efc0f932284bf0 (patch)
treed5912bf9ba41cb9fcc018540f4cad1972fb3a975 /library/CMakeLists.txt
parent560e977f0589ac1c0feb6ea825d20d351e325826 (diff)
downloaddfhack-e7851f5abdd1a84d29020f2789efc0f932284bf0.tar.gz
dfhack-e7851f5abdd1a84d29020f2789efc0f932284bf0.tar.bz2
dfhack-e7851f5abdd1a84d29020f2789efc0f932284bf0.tar.xz
Improve support for void RPC functions, dfhack-run, etc.
Diffstat (limited to 'library/CMakeLists.txt')
-rw-r--r--library/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt
index cef56d4d..0bda587a 100644
--- a/library/CMakeLists.txt
+++ b/library/CMakeLists.txt
@@ -159,8 +159,8 @@ ENDIF()
# Protobuf
FILE(GLOB PROJECT_PROTOS ${CMAKE_CURRENT_SOURCE_DIR}/proto/*.proto)
-STRING(REPLACE ".proto" ".pb.cc" PROJECT_PROTO_SRCS ${PROJECT_PROTOS})
-STRING(REPLACE ".proto" ".pb.h" PROJECT_PROTO_HDRS ${PROJECT_PROTOS})
+STRING(REPLACE ".proto" ".pb.cc" PROJECT_PROTO_SRCS "${PROJECT_PROTOS}")
+STRING(REPLACE ".proto" ".pb.h" PROJECT_PROTO_HDRS "${PROJECT_PROTOS}")
LIST(APPEND PROJECT_HEADERS ${PROJECT_PROTO_HDRS})
LIST(APPEND PROJECT_SOURCES ${PROJECT_PROTO_SRCS})
@@ -249,6 +249,8 @@ IF(UNIX)
# On linux, copy our version of the df launch script which sets LD_PRELOAD
install(PROGRAMS ${dfhack_SOURCE_DIR}/package/linux/dfhack
DESTINATION .)
+ install(PROGRAMS ${dfhack_SOURCE_DIR}/package/linux/dfhack-run
+ DESTINATION .)
ELSE()
if(NOT BUILD_EGGY)
# On windows, copy the renamed SDL so DF can still run.