summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPetr Mrázek2011-06-20 04:29:38 +0200
committerPetr Mrázek2011-06-20 04:29:38 +0200
commitc6dc4900d2c3032ef282d5e8bc4219ece375e447 (patch)
treec50cd841d4a16e595e00d1f0f68a13fabc6082c6 /CMakeLists.txt
parentffd2ca328150bc6ae73310b65264426d8de24896 (diff)
downloaddfhack-c6dc4900d2c3032ef282d5e8bc4219ece375e447.tar.gz
dfhack-c6dc4900d2c3032ef282d5e8bc4219ece375e447.tar.bz2
dfhack-c6dc4900d2c3032ef282d5e8bc4219ece375e447.tar.xz
Very basic plugin system.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3d478369..21013dea 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -71,6 +71,10 @@ IF(BUILD_LIBRARY)
install(FILES LICENSE Readme.html DESTINATION ${DFHACK_USERDOC_DESTINATION})
endif()
+IF(BUILD_PLUGINS)
+ add_subdirectory (plugins)
+endif()
+
# Packaging with CPack!
IF(UNIX)
SET(CPACK_GENERATOR "TGZ")