diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2025-08-22 21:37:54 +0300 |
---|---|---|
committer | Alexander Golubev <fatzer2@gmail.com> | 2025-08-23 15:33:42 +0300 |
commit | 31bdb77a270848e2a3cfb2f71e41a0c5d8d44a37 (patch) | |
tree | 1ea4b972b29f9c17d8dfade85f563b523d8534f5 /tdmlib | |
parent | 20a17f52d2cd9810ae6cc82337d0ecd05fc36d3b (diff) | |
download | tdebase-feat/separate-tsak.tar.gz tdebase-feat/separate-tsak.zip |
Separate WITH_TSAK and BUILD_TSAK flagsfeat/separate-tsak
As for now BUILD_TSAK was used as both: a flag for building the `tsak`
binary and to enable/disable tsak support in tdm/kdesktop. The problem
is it creates problem with split build (when each sub-package is built
independently): if `tsak` is built as a separate package there is no way
to enable/disable support for it when building `kdesktop`/`tdm` without
also triggerin the build of `tsak` itself.
Besides this issue it just violates convention that BUILD_* flags do not
conditionally enable functionality in other packages.
This commit separates this logic into two different flags: BUILD_TSAK
for building the tsak binary and WITH_TSAK for adding support for it to
kdesktop and/or tdm.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'tdmlib')
-rw-r--r-- | tdmlib/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdmlib/CMakeLists.txt b/tdmlib/CMakeLists.txt index 7f6fbbbcc..0aa11e10d 100644 --- a/tdmlib/CMakeLists.txt +++ b/tdmlib/CMakeLists.txt @@ -56,14 +56,13 @@ tde_add_kpart( kgreet_winbind AUTOMOC ) - endif( BUILD_TDM ) ##### dmctl (static) ############################ if( BUILD_KICKER OR BUILD_KDESKTOP OR BUILD_TDM OR - BUILD_KSMSERVER OR BUILD_TDEIOSLAVES ) + BUILD_KSMSERVER OR BUILD_TDEIOSLAVES OR BUILD_TSAK ) tde_add_library( dmctl STATIC_PIC SOURCES dmctl.cpp @@ -72,6 +71,7 @@ if( BUILD_KICKER OR BUILD_KDESKTOP OR BUILD_TDM OR endif( ) + ##### tdmtsak (executable) ####################### if( BUILD_TSAK ) |