diff options
author | Robert Tari <robert@tari.in> | 2024-06-17 12:35:34 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2024-07-05 16:31:25 +0200 |
commit | a7045072c3fa5e4a76853b29c3549a3d576e2bab (patch) | |
tree | 5a7d42eebaa6423c35f46d4512cfa95b123c4098 /CMakeLists.txt | |
parent | a630e4bb274f4cc384a2a19a1b819d1834d57306 (diff) | |
download | ayatana-indicator-keyboard-a7045072c3fa5e4a76853b29c3549a3d576e2bab.tar.gz ayatana-indicator-keyboard-a7045072c3fa5e4a76853b29c3549a3d576e2bab.tar.bz2 ayatana-indicator-keyboard-a7045072c3fa5e4a76853b29c3549a3d576e2bab.zip |
Fix integration with Lomiri session
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 57b01d26..a78e7e1f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,7 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) # Options option(ENABLE_WERROR "Treat all build warnings as errors" OFF) +option(ENABLE_UBUNTU_ACCOUNTSSERVICE "Build with Ubuntu's fork of accountsservice" OFF) set(CMAKE_BUILD_TYPE "Release") @@ -16,6 +17,10 @@ if(ENABLE_WERROR) add_definitions("-Werror") endif() +if(ENABLE_UBUNTU_ACCOUNTSSERVICE) + add_compile_definitions(ENABLE_UBUNTU_ACCOUNTSSERVICE) +endif() + if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") add_definitions("-Weverything") else() @@ -51,4 +56,5 @@ add_subdirectory(po) # Display config info message(STATUS "Install prefix: ${CMAKE_INSTALL_PREFIX}") +message(STATUS "Build with Ubuntu's fork of accountsservice: ${ENABLE_UBUNTU_ACCOUNTSSERVICE}") message(STATUS "Build with -Werror: ${ENABLE_WERROR}") |