summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPetr Mrázek2011-08-14 11:04:58 +0000
committerPetr Mrázek2011-08-14 11:04:58 +0000
commite7f42e6900b7a71e670e7216692259405d41c09d (patch)
treef61023250a8c117502bf0dead592822105bb0ebc /CMakeLists.txt
parent5e49b24f823f63c27edad308841dc3c1656f5ea0 (diff)
downloadstonesense-e7f42e6900b7a71e670e7216692259405d41c09d.tar.gz
stonesense-e7f42e6900b7a71e670e7216692259405d41c09d.tar.bz2
stonesense-e7f42e6900b7a71e670e7216692259405d41c09d.tar.xz
static build on linux
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9afd078..c2cb416 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -53,8 +53,11 @@ SET(PROJECT_SRCS
#linux
IF(UNIX)
- SET(PROJECT_LIBS allegro allegro_primitives allegro_color allegro_dialog
- allegro_font allegro_image allegro_main allegro_ttf
+# SET(PROJECT_LIBS allegro allegro_primitives allegro_color allegro_dialog
+# allegro_font allegro_image allegro_main allegro_ttf
+# ${PROJECT_LIBS})
+ SET(PROJECT_LIBS allegro-static allegro_primitives-static allegro_color-static allegro_dialog-static
+ allegro_font-static allegro_image-static allegro_main-static allegro_ttf-static
${PROJECT_LIBS})
# windows
ELSE(UNIX)
@@ -69,7 +72,8 @@ ELSE(UNIX)
)
ENDIF(UNIX)
DFHACK_PLUGIN(stonesense ${PROJECT_SRCS} LINK_LIBRARIES ${PROJECT_LIBS})
+#install resources into DF/stonesense
install(DIRECTORY resources/
- DESTINATION "${DFHACK_DATA_DESTINATION}/stonesense"
+ DESTINATION "stonesense"
PATTERN "CVS" EXCLUDE
PATTERN ".svn" EXCLUDE) \ No newline at end of file