summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-16 01:56:21 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-16 04:01:51 +0200
commit52d5b0c2378b07b40554d15fecaa65d1228cfa9a (patch)
tree0ee827e24297dbef8874bbfb2e78054889a670a0 /CMakeLists.txt
parent5bc932facd53871093c4b2874a1f615c52195154 (diff)
downloadtdelibs-52d5b0c2378b07b40554d15fecaa65d1228cfa9a.tar.gz
tdelibs-52d5b0c2378b07b40554d15fecaa65d1228cfa9a.zip
Use target names for commands instead of full paths.
When using target names for commands, CMake automatically resolves the necessary dependencies without having to specify them in the CMakeLists.txt source code or in the common TDE CMake module. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 98436f882d2146fe156c26e81bb87d409cfcf819)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4ea923b99..9f646b13e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1152,15 +1152,15 @@ configure_file( kdoctools/checkXML.cmake kdoctools/checkXML )
##### tools #####################################
-set( KDE3_DCOPIDL_EXECUTABLE ${CMAKE_BINARY_DIR}/dcop/dcopidl/dcopidl )
+set( KDE3_DCOPIDL_EXECUTABLE dcopidl )
set( KDE3_DCOPIDLNG_EXECUTABLE
perl -I"${CMAKE_SOURCE_DIR}/dcop/dcopidlng"
"${CMAKE_SOURCE_DIR}/dcop/dcopidlng/kalyptus"
--allow_k_dcop_accessors -f dcopidl
)
-set( KDE3_DCOPIDL2CPP_EXECUTABLE ${CMAKE_BINARY_DIR}/dcop/dcopidl2cpp/dcopidl2cpp )
-set( KDE3_MEINPROC_EXECUTABLE ${CMAKE_BINARY_DIR}/kdoctools/meinproc )
-set( KDE3_KCFGC_EXECUTABLE ${CMAKE_BINARY_DIR}/tdecore/tdeconfig_compiler/tdeconfig_compiler )
+set( KDE3_DCOPIDL2CPP_EXECUTABLE dcopidl2cpp )
+set( KDE3_MEINPROC_EXECUTABLE meinproc )
+set( KDE3_KCFGC_EXECUTABLE tdeconfig_compiler )
##### global compiler settings ##################