Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 40 Lines | |||||
41 | ) | 41 | ) | ||
42 | 42 | | |||
43 | if (WIN32 OR APPLE) | 43 | if (WIN32 OR APPLE) | ||
44 | find_package(KF5 ${KF5_VERSION} REQUIRED COMPONENTS | 44 | find_package(KF5 ${KF5_VERSION} REQUIRED COMPONENTS | ||
45 | IconThemes | 45 | IconThemes | ||
46 | ) | 46 | ) | ||
47 | endif() | 47 | endif() | ||
48 | 48 | | |||
49 | | ||||
50 | find_package(Qt5Keychain REQUIRED) | ||||
51 | set_package_properties(Qt5Keychain PROPERTIES | ||||
52 | DESCRIPTION "Provides support for secure credentials storage" | ||||
53 | URL "https://github.com/frankosterfeld/qtkeychain" | ||||
54 | TYPE OPTIONAL) | ||||
mlaurent: Required finally ?
So for the future we need to be sure that CI has this lib
but ok | |||||
55 | if (Qt5Keychain_FOUND) | ||||
56 | set(HAVE_QT5KEYCHAIN 1) | ||||
57 | else() | ||||
58 | set(HAVE_QT5KEYCHAIN 0) | ||||
59 | endif() | ||||
60 | | ||||
49 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | 61 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | ||
50 | 62 | | |||
51 | add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII") | 63 | add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII") | ||
52 | add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT) | 64 | add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT) | ||
53 | add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) | 65 | add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) | ||
54 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING) | 66 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING) | ||
55 | 67 | | |||
56 | 68 | | |||
Show All 28 Lines |
Required finally ?
So for the future we need to be sure that CI has this lib
but ok