summaryrefslogtreecommitdiffstats
path: root/dcop/CMakeLists.txt
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2020-08-08 18:33:11 +0900
committerSlávek Banko <slavek.banko@axis.cz>2020-08-26 18:10:51 +0200
commit56c5973b6b33df77a7491b07411cbd772c0d5d79 (patch)
tree98edb6334e62c8965e3e6b33a34dac89a964e241 /dcop/CMakeLists.txt
parent80444f1bea108bd9bc72e8ad94b5b18ac72e23ca (diff)
downloadtdelibs-56c5973b6b33df77a7491b07411cbd772c0d5d79.tar.gz
tdelibs-56c5973b6b33df77a7491b07411cbd772c0d5d79.zip
Fix to set DCOP_PATH properly
It is only used in dcop module and empty is unwanted situation, so properly define it in dcop/CMakeLists.txt. Rerevant header generation is also moved to there, and prevent to define in main config.h file too. Signed-off-by: OBATA Akio <obache@wizdas.com>
Diffstat (limited to 'dcop/CMakeLists.txt')
-rw-r--r--dcop/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/dcop/CMakeLists.txt b/dcop/CMakeLists.txt
index 7d2b46617..c93085a0b 100644
--- a/dcop/CMakeLists.txt
+++ b/dcop/CMakeLists.txt
@@ -30,6 +30,12 @@ link_directories(
)
+##### Define where your dcop binary is ##########
+
+set( DCOP_PATH "${BIN_INSTALL_DIR}" )
+configure_file( dcop-path.h.cmake dcop-path.h )
+
+
##### headers ###################################
install( FILES