summaryrefslogtreecommitdiff
path: root/plugins/CMakeLists.txt
diff options
context:
space:
mode:
authorPetr Mrázek2012-03-24 01:29:09 +0100
committerPetr Mrázek2012-03-24 01:29:09 +0100
commite90da2bff1e8e93864557388e44e45729e464a43 (patch)
treea95707cbffa740764d91169b9a891fb027f00d5a /plugins/CMakeLists.txt
parent13cf648634404a0f2ed84b255552663dab7f3a66 (diff)
downloaddfhack-e90da2bff1e8e93864557388e44e45729e464a43.tar.gz
dfhack-e90da2bff1e8e93864557388e44e45729e464a43.tar.bz2
dfhack-e90da2bff1e8e93864557388e44e45729e464a43.tar.xz
Move autolabor to main plugin folder
Diffstat (limited to 'plugins/CMakeLists.txt')
-rw-r--r--plugins/CMakeLists.txt7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
index 03cf9ee0..ff03de3e 100644
--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -45,11 +45,6 @@ if (BUILD_DWARFEXPORT)
add_subdirectory (dwarfexport)
endif()
-OPTION(BUILD_AUTOLABOR "Build autolabor." ON)
-if (BUILD_AUTOLABOR)
- add_subdirectory (autolabor)
-endif()
-
# Protobuf
FILE(GLOB PROJECT_PROTOS ${CMAKE_CURRENT_SOURCE_DIR}/proto/*.proto)
@@ -72,6 +67,8 @@ if (BUILD_SUPPORTED)
DFHACK_PLUGIN(probe probe.cpp)
# this is a plugin which helps detect cursed creatures (vampires, necromancers, werebeasts, ...)
DFHACK_PLUGIN(cursecheck cursecheck.cpp)
+ # automatically assign labors to dwarves!
+ DFHACK_PLUGIN(autolabor autolabor.cpp)
DFHACK_PLUGIN(drybuckets drybuckets.cpp)
DFHACK_PLUGIN(getplants getplants.cpp)
DFHACK_PLUGIN(plants plants.cpp)