summaryrefslogtreecommitdiff
path: root/library/CMakeLists.txt
diff options
context:
space:
mode:
authorPetr Mrázek2012-02-23 08:57:11 +0100
committerPetr Mrázek2012-02-23 08:57:11 +0100
commit2b761e450fc0b49d02901716bdc0f47e4f4c1bf9 (patch)
treeff6e7341733e995dde286f3282f2da6ac0c7bf4e /library/CMakeLists.txt
parent60b83b41efc24b948e49f810e455e0aae3090620 (diff)
downloaddfhack-2b761e450fc0b49d02901716bdc0f47e4f4c1bf9.tar.gz
dfhack-2b761e450fc0b49d02901716bdc0f47e4f4c1bf9.tar.bz2
dfhack-2b761e450fc0b49d02901716bdc0f47e4f4c1bf9.tar.xz
Add the init file to builds, mention it in readme.
Diffstat (limited to 'library/CMakeLists.txt')
-rw-r--r--library/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt
index 46944426..1bae137d 100644
--- a/library/CMakeLists.txt
+++ b/library/CMakeLists.txt
@@ -200,6 +200,9 @@ install(TARGETS dfhack
#install the offset file
install(FILES xml/symbols.xml
DESTINATION ${DFHACK_DATA_DESTINATION}) #linux: share/dfhack
+#install the example autoexec file
+install(FILES ../dfhack.init-example
+ DESTINATION ${DFHACK_BINARY_DESTINATION})
if(BUILD_DEVEL)
if(WIN32)