diff options
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | config.h.cmake | 3 | ||||
-rw-r--r-- | dcop/CMakeLists.txt | 6 |
3 files changed, 6 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 73a14594c..fbb2e6315 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1236,7 +1236,6 @@ endif ( WITH_TDEICONLOADER_DEBUG ) ##### write configure files ##################### configure_file( config.h.cmake config.h ) -configure_file( dcop/dcop-path.h.cmake dcop/dcop-path.h ) configure_file( tdecore/kdemacros.h.cmake tdecore/kdemacros.h ) configure_file( kjs/global.h.in kjs/global.h ) configure_file( tdeio/kssl/ksslconfig.h.cmake tdeio/kssl/ksslconfig.h ) diff --git a/config.h.cmake b/config.h.cmake index b2f38c0fc..8401efc31 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -15,9 +15,6 @@ /* Define to 1 if using `alloca.c'. */ #undef C_ALLOCA -/* Define where your dcop binary is */ -#cmakedefine DCOP_PATH "@DCOP_PATH@" - /* Use su or sudo */ #define DEFAULT_SUPER_USER_COMMAND "@DEFAULT_SUPER_USER_COMMAND@" 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 |