summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-04-02 16:50:24 +0100
committerSadie Powell <sadie@witchery.services>2024-04-02 16:52:41 +0100
commitc08aaa86d1ada72ad6e185837f9c179693b60c22 (patch)
tree28f7a8ba882942eb8622e6f08e43aef97df5946d /modules
parent87a8af0ad71a11c248ba94c9ba20668dcb0fe831 (diff)
Sync the build system directory names with the core.
Diffstat (limited to 'modules')
-rw-r--r--modules/CMakeLists.txt4
-rw-r--r--modules/webcpanel/CMakeLists.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt
index c6a98df7f..aa9e963c4 100644
--- a/modules/CMakeLists.txt
+++ b/modules/CMakeLists.txt
@@ -94,7 +94,7 @@ macro(build_modules SRC)
target_link_libraries(${SO} ${PROGRAM_NAME})
endif()
# Set the module to be installed to the module directory under the data directory
- install(TARGETS ${SO} DESTINATION ${LIB_DIR}/modules)
+ install(TARGETS ${SO} DESTINATION ${MODULE_DIR})
endif()
endif()
endforeach()
@@ -168,7 +168,7 @@ macro(build_subdir)
endif()
# Set the module to be installed to the module directory under the data directory
- install(TARGETS ${SO} DESTINATION ${LIB_DIR}/modules)
+ install(TARGETS ${SO} DESTINATION ${MODULE_DIR})
endmacro()
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
diff --git a/modules/webcpanel/CMakeLists.txt b/modules/webcpanel/CMakeLists.txt
index 0770fddb7..ab19f12b5 100644
--- a/modules/webcpanel/CMakeLists.txt
+++ b/modules/webcpanel/CMakeLists.txt
@@ -1,5 +1,5 @@
build_subdir(${CMAKE_CURRENT_SOURCE_DIR})
install(DIRECTORY "templates/"
- DESTINATION "${DB_DIR}/webcpanel/templates/default"
+ DESTINATION "${DATA_DIR}/webcpanel/templates/default"
)