diff options
| author | Alexander Golubev <fatzer2@gmail.com> | 2025-08-17 19:31:08 +0300 |
|---|---|---|
| committer | Fat-Zer <fatzer2@gmail.com> | 2025-08-21 10:00:17 +0000 |
| commit | b15319ca4f4d4cc232b72dd16390d5c3d8ac2620 (patch) | |
| tree | 8f039e02fbf93261432db2206e396bd29dbb2aa9 | |
| parent | 0c3c5e676e73b11349606c3c0bbb3855b423f016 (diff) | |
| download | tdenetwork-b15319ca4f4d4cc232b72dd16390d5c3d8ac2620.tar.gz tdenetwork-b15319ca4f4d4cc232b72dd16390d5c3d8ac2620.zip | |
kopete/sms: move INCLUDE_SMSGSM to the root config
This fixes INCLUDE_SMSGSM's #ifdef`s in
kopete/protocols/sms/serviceloader.cpp which were ignored before.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
| -rw-r--r-- | config.h.cmake | 3 | ||||
| -rw-r--r-- | kopete/protocols/sms/services/ConfigureChecks.cmake | 4 | ||||
| -rw-r--r-- | kopete/protocols/sms/services/config.h.cmake | 1 |
3 files changed, 4 insertions, 4 deletions
diff --git a/config.h.cmake b/config.h.cmake index cdda60ff..8247d6e2 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -33,6 +33,9 @@ // kopete/plugins/nowlistening #cmakedefine HAVE_XMMS 1 +// kopete/protocols/sms +#cmakedefine INCLUDE_SMSGSM 1 + // kopete/plugins/webpresence #cmakedefine HAVE_XSLT 1 diff --git a/kopete/protocols/sms/services/ConfigureChecks.cmake b/kopete/protocols/sms/services/ConfigureChecks.cmake index 4ed454b4..71f85d45 100644 --- a/kopete/protocols/sms/services/ConfigureChecks.cmake +++ b/kopete/protocols/sms/services/ConfigureChecks.cmake @@ -17,7 +17,7 @@ if( WITH_GSM ) tde_restore( CMAKE_REQUIRED_INCLUDES ) if( HAVE_GSMLIB_GSM_UTIL_H ) - set( INCLUDE_SMSGSM 1 ) + set( INCLUDE_SMSGSM 1 CACHE INTERNAL "" FORCE ) find_library( GSM_LIBRARY gsmme ) endif( ) @@ -26,5 +26,3 @@ if( WITH_GSM ) endif( ) endif( ) - -configure_file( config.h.cmake config.h @ONLY ) diff --git a/kopete/protocols/sms/services/config.h.cmake b/kopete/protocols/sms/services/config.h.cmake deleted file mode 100644 index 9555d535..00000000 --- a/kopete/protocols/sms/services/config.h.cmake +++ /dev/null @@ -1 +0,0 @@ -#cmakedefine INCLUDE_SMSGSM 1 |
