summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorChristian Dywan <christian@twotoasts.de>2018-11-19 08:40:22 +0200
committerGitHub <noreply@github.com>2018-11-19 08:40:22 +0200
commit94cf91feed9efbde9280f3a6c010ecd523e55961 (patch)
tree35ee9b90da096c41d8a11657c3c0a8dae28bbef2 /web
parent21e659c71e003bde8a8ffbdf10a32a99ce92985e (diff)
downloadmidori-git-94cf91feed9efbde9280f3a6c010ecd523e55961.tar.gz
Locate system-wide plugins at Config.PLUGINDIR (#168)
Fixes: #165
Diffstat (limited to 'web')
-rw-r--r--web/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/CMakeLists.txt b/web/CMakeLists.txt
index 9f400487..a74ccf83 100644
--- a/web/CMakeLists.txt
+++ b/web/CMakeLists.txt
@@ -1,6 +1,5 @@
# Copyright (C) 2013-2018 Christian Dywan <christian@twotoasts.de>
-set(EXTENSIONDIR "${CMAKE_INSTALL_FULL_LIBDIR}/${CMAKE_PROJECT_NAME}")
include_directories(
"${CMAKE_SOURCE_DIR}"
"${CMAKE_SOURCE_DIR}/core"
@@ -45,6 +44,6 @@ foreach(UNIT_SRC ${EXTENSIONS})
${DEPS_GTK_LIBRARIES}
)
install(TARGETS ${UNIT}
- LIBRARY DESTINATION ${EXTENSIONDIR}
+ LIBRARY DESTINATION ${PLUGINDIR}
)
endforeach ()