summaryrefslogtreecommitdiff
path: root/win/modules/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'win/modules/CMakeLists.txt')
-rw-r--r--win/modules/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/modules/CMakeLists.txt b/win/modules/CMakeLists.txt
index b3e59de61..2c2617e2b 100644
--- a/win/modules/CMakeLists.txt
+++ b/win/modules/CMakeLists.txt
@@ -38,5 +38,5 @@ foreach(MODULE_NAME ${INSPIRCD_MODULES})
)
# Set the module to be installed to the module directory
- install(TARGETS ${SO_NAME} DESTINATION modules)
+ install(TARGETS ${SO_NAME} DESTINATION ${MODULE_DIR})
endforeach(MODULE_NAME ${INSPIRCD_MODULES})