summaryrefslogtreecommitdiff
path: root/src/plugins/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/CMakeLists.txt')
-rw-r--r--src/plugins/CMakeLists.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt
index 3e6ac0e26..41a03412a 100644
--- a/src/plugins/CMakeLists.txt
+++ b/src/plugins/CMakeLists.txt
@@ -96,10 +96,6 @@ IF(ENABLE_SCRIPT)
ADD_SUBDIRECTORY( script )
ENDIF(ENABLE_SCRIPT)
-IF(ENABLE_XFER)
- ADD_SUBDIRECTORY( xfer )
-ENDIF(ENABLE_XFER)
-
IF(ENABLE_SCRIPTS AND ENABLE_PERL)
FIND_PACKAGE(Perl)
IF(PERL_FOUND)
@@ -142,4 +138,12 @@ IF(ENABLE_SCRIPTS AND ENABLE_GUILE)
ENDIF(GUILE_FOUND)
ENDIF(ENABLE_SCRIPTS AND ENABLE_GUILE)
+IF(ENABLE_TRIGGER)
+ ADD_SUBDIRECTORY( trigger )
+ENDIF(ENABLE_TRIGGER)
+
+IF(ENABLE_XFER)
+ ADD_SUBDIRECTORY( xfer )
+ENDIF(ENABLE_XFER)
+
INSTALL(FILES weechat-plugin.h DESTINATION ${INCLUDEDIR})