summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-06-19 18:32:22 +0200
committerBardur Arantsson <bardur@scientician.net>2012-06-19 18:36:21 +0200
commit4b66522b1f625592e691de4917ee5616ea4c0324 (patch)
tree2a15bc05d6612ccb51b005ec22fa6f664fe3813e
parent64e064330c5c595d0b8553028e0c5ca95c5e5392 (diff)
Lua: Fix up installation to include Theme.
-rw-r--r--lib/CMakeLists.txt9
-rw-r--r--lib/mods/CMakeLists.txt1
-rw-r--r--lib/mods/theme/CMakeLists.txt14
3 files changed, 17 insertions, 7 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index f6e7748c..15591830 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -1,7 +1,3 @@
-INSTALL(FILES
- module.lua
- DESTINATION ${DEFAULT_PATH}
-)
INSTALL(DIRECTORY
apex
cmov
@@ -11,14 +7,13 @@ INSTALL(DIRECTORY
file
help
info
- mods
note
- plot
pref
save
user
xtra
DESTINATION ${DEFAULT_PATH}
- PATTERN "*.raw" EXCLUDE
PATTERN "delete.me" EXCLUDE
)
+
+ADD_SUBDIRECTORY (mods)
diff --git a/lib/mods/CMakeLists.txt b/lib/mods/CMakeLists.txt
new file mode 100644
index 00000000..5cce23ea
--- /dev/null
+++ b/lib/mods/CMakeLists.txt
@@ -0,0 +1 @@
+ADD_SUBDIRECTORY(theme)
diff --git a/lib/mods/theme/CMakeLists.txt b/lib/mods/theme/CMakeLists.txt
new file mode 100644
index 00000000..f1160786
--- /dev/null
+++ b/lib/mods/theme/CMakeLists.txt
@@ -0,0 +1,14 @@
+INSTALL(DIRECTORY
+ apex
+ data
+ dngn
+ edit
+ file
+ help
+ note
+ pref
+ save
+ user
+ DESTINATION ${DEFAULT_PATH}/mods/theme
+ PATTERN "delete.me" EXCLUDE
+ )