summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Fix FTBFS caused by detection of libr version after recent updateMichele Calgaro2023-11-261-2/+2
| | | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 7a00e005dd5806a1056488e3a1199bf382a42623)
* Raise the minimum required version of CMake to 3.5.Slávek Banko2023-11-061-1/+1
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 49ab8ddf538aea03f228d9cc1d92fbf0aaa37d89)
* Add SunOS specific patchesDenis Kozadaev2023-05-221-2/+21
| | | | | Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit e5acdb1b39fa7d97d7153741202709e078b463a6)
* Use pkg-config to detect libpcsclite.Slávek Banko2023-03-171-13/+16
| | | | | | | Test the presence of libpcsclite, libpkcs11-helper-1, opensc-pkcs11 and libcryptsetup only if the tdehw library is built. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fix FTBFS when backtrace is not found.Slávek Banko2022-11-041-0/+3
| | | | | | | | | | | If backtrace is not found - for example, with Musl C library, then Backtrace_LIBRARY instead of empty value contains Backtrace_LIBRARY-NOT_FOUND. This results in all libraries listed in LINK_PRIVATE for tdecore-shared are ignored. This resolves FTBFS on Dragora and issue TDE/tde-packaging-gentoo#277. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Use TDE cmake macro to set versionMichele Calgaro2022-06-201-1/+5
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Remove obsolete setting of CMAKE_MODULE_PATH in cmake files.Michele Calgaro2022-05-031-1/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Add tdemarkdown part - embeddable lightweight markdown viewing component.Mavridis Philippe2022-04-171-0/+1
| | | | | | | | | | | | | TDEMarkdown is based on the md4c library and using TDEHTML for rendering its output. For enhanced safety, on HTML widget is turned off everything we don't need for viewing. It integrates nicely into Konqueror and supports both Commonmark and GitHub markdown syntaxes. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> Prepare to merge tdemarkdown into tdelibs. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Removed HAL dependant code.Michele Calgaro2022-02-141-1/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix feature detections with CMakeOBATA Akio2022-01-171-2/+13
| | | | | | | | * implement missing checks with CMake * fixes and improve some detections * remove missing but unused checks Signed-off-by: OBATA Akio <obache@wizdas.com>
* Raise the minimum required version of CMake to 3.1.Slávek Banko2021-12-291-1/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fix definitions of slot constants for old cryptsetup API.Slávek Banko2021-06-071-1/+1
| | | | | | This resolves issue #137. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Use CMake rules instead of calling external shell scriptsSlávek Banko2021-05-241-6/+34
| | | | | | | | generate_apidox and install_apidox from the cmake submodule folder. After generating apidox, links pointing to build directory are fixed. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Raise the minimum required version of CMake to 2.8.12.Slávek Banko2021-01-181-1/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Add an option to install the imagetops binary.Slávek Banko2021-01-071-0/+1
| | | | | | | This binary may already be included in the system - for example in the netpbm package. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Drop weird macro and use memcpy/memset instead.Michele Calgaro2020-12-201-2/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Add a check to verify that the spell checker set as the default is enabled ↵Slávek Banko2020-09-271-0/+4
| | | | | | for build. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Add a build option for ispell.Slávek Banko2020-09-271-15/+19
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Add an ability to specify default spell checkerOBATA Akio2020-09-271-0/+4
| | | | | | | | There is no reason to determine it with operating system basis. Change to use build configuration instead. "ispell" by default, and you can override it. Signed-off-by: OBATA Akio <obache@wizdas.com>
* Port ASPELL_DATADIR detection to CMakeOBATA Akio2020-09-271-1/+13
| | | | Signed-off-by: OBATA Akio <obache@wizdas.com>
* Add the ability to detect ispell lib directoryOBATA Akio2020-09-271-0/+18
| | | | | | | Check LIBDIR ispell compile option and use only it for ispell lib directory if found. Signed-off-by: OBATA Akio <obache@wizdas.com>
* Add definitions for X11_RGBFILE and XMLLINT in config.hgregory guy2020-09-271-0/+24
| | | | Signed-off-by: gregory guy <gregory-tde@laposte.net>
* Add support of posix_openpt(2) to open master pseudo terminal deviceOBATA Akio2020-08-311-0/+1
| | | | Signed-off-by: OBATA Akio <obache@wizdas.com>
* Add a knob to use fixed path `iceauth` toolOBATA Akio2020-08-261-0/+11
| | | | | | | | `system()` and `popen()` may unsafe unless using absolute command path. Rely on PATH environment variable set by users may result in unwanted tool. Signed-off-by: OBATA Akio <obache@wizdas.com> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fix to set DCOP_PATH properlyOBATA Akio2020-08-261-1/+0
| | | | | | | | | It is only used in dcop module and empty is unwanted situation, so properly define it in dcop/CMakeLists.txt. Rerevant header generation is also moved to there, and prevent to define in main config.h file too. Signed-off-by: OBATA Akio <obache@wizdas.com>
* Add `getservbyname_r` prototype detection to CMakeOBATA Akio2020-08-171-0/+1
| | | | | | OpenBSD's prototype is differ than glibc's one, but it is declared. Signed-off-by: OBATA Akio <obache@wizdas.com>
* Fix to detect vsnprintf prototype properlyOBATA Akio2020-08-171-1/+1
| | | | | | From the standard sepc, <stdio.h> is required in addition to <stdarg.h> Signed-off-by: OBATA Akio <obache@wizdas.com>
* Allow to use backtrace(3) external library for kdebugOBATA Akio2020-08-171-1/+12
| | | | Signed-off-by: OBATA Akio <obache@wizdas.com>
* Use target names for commands instead of full paths.Slávek Banko2020-06-161-4/+4
| | | | | | | | When using target names for commands, CMake automatically resolves the necessary dependencies without having to specify them in the CMakeLists.txt source code or in the common TDE CMake module. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Enable the use of dcopidlng during build tdelibs.Slávek Banko2020-06-071-0/+5
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Update for OpenSSL >= 1.1.0Timothy Pearson2020-06-031-4/+1
| | | | Signed-off-by: Timothy Pearson <kb9vqf@pearsoncomputing.net>
* Fix typo in the SSL library check rules.Slávek Banko2020-05-261-2/+2
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Enable storing ELF metadata in a standard way using a common cmake moduleSlávek Banko2020-04-041-3/+9
| | | | | | for all libraries and binaries. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Added back build options for UDISKS2, UDISKS and UDEVIL as requested byMichele Calgaro2020-02-101-0/+3
| | | | | | some users. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Use the correct macros isnan, isinf for libc compatibilityMatías Fonzo2020-01-221-4/+0
| | | | | | | | | | | | Changes related to this commit: - Clean up #if mess. - Use unconditionally the correct macros isnan, isinf. - Remove redudant macros from the build system. Signed-off-by: Matías Fonzo <selk@dragora.org>
* Fix building with avahi supportSlávek Banko2020-01-121-10/+9
| | | | | | | | + Avahi detection was not performed at all + Added missing avahi-client detection + Fixed FTBFS in avahi related code Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* tdehw: code restructuring for tdestoragedevice.Michele Calgaro2019-07-071-3/+0
| | | | | | | | 1. added disk helper source files 2. removed WITH_UDISKS2, WITH_UDISK, WITH_UDEVIL defines. The respective code is always included 3. order of execution for mount/umount activities: udisks2, udisk, udevil, pmount. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Use system libdir when searching for dynamically loaded libraries.Slávek Banko2019-02-241-0/+12
| | | | | | This prevents finding an incorrect architecture on multi-arch systems. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fix openssl >= 1.1 detection without pkg-config file.Slávek Banko2019-02-161-3/+12
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Use a common test for dbus detection and paths configuration.Slávek Banko2019-01-311-25/+2
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Use common test for large files support.Slávek Banko2019-01-281-0/+2
| | | | | | Drop hardcoded definition -D_LARGEFILE64_SOURCE=1. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Use common GCC visibility test.Slávek Banko2019-01-281-8/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Convert GETMNTINFO_USES_STATVFS check to CMakeOBATA Akio2019-01-251-0/+11
| | | | Fix to build on such platforms, it is used but not checked with CMake.
* Avoid overriding user linker flags (LDFLAGS) for modules and shared libsFabio Rossi2018-12-171-2/+2
| | | | Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
* fix issue #3 utempter detectiongregory guy2018-11-131-2/+2
| | | | Signed-off-by: gregory guy <g-gregory@gmx.fr>
* Removed unnecessary dependency on libnm-util-dev, which is no longerMichele Calgaro2018-05-011-9/+0
| | | | | | available in buster and bionic. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Add paths to the search for utempter helperSlávek Banko2018-03-101-0/+2
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Add search for utempter helperSlávek Banko2018-02-131-1/+20
| | | | | | This resolves Bug 2841 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Temporarily disable PKCS for build with OpenSSL >= 1.1Slávek Banko2018-02-101-2/+8
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Allow openssl detection without pkg-config fileSlávek Banko2017-06-021-1/+9
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>