summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Fix feature detections with CMakeOBATA Akio2022-02-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> (cherry picked from commit ad41084b8dd4e029e04073e22e52164505719b57)
* Raise the minimum required version of CMake to 3.1.Slávek Banko2021-12-301-1/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Use CMake rules instead of calling external shell scriptsSlávek Banko2021-06-071-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> (cherry picked from commit da3e395af57e3e79eb7acc10ad640a10e4e8e202)
* Add an option to install the imagetops binary.Slávek Banko2021-02-031-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> (cherry picked from commit f6aced3def110bab4ebd10e4b4684c52d29fc767)
* Drop weird macro and use memcpy/memset instead.Michele Calgaro2021-02-031-2/+0
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 60ef8289ae01945f48aefd2e03cf1abead4d177d)
* Add a check to verify that the spell checker set as the default is enabled ↵Slávek Banko2021-02-031-0/+4
| | | | | | | for build. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 056d9c5d0d438b28fd3a43fa7a15a26cc84644b5)
* Add a build option for ispell.Slávek Banko2021-02-031-15/+19
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit c66f9211792e21ebeb956747d9643e7e0847a874)
* Add an ability to specify default spell checkerOBATA Akio2021-02-031-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> (cherry picked from commit 70d26004f065c5fd18be00cab17fc93ed231d849)
* Port ASPELL_DATADIR detection to CMakeOBATA Akio2021-02-031-1/+13
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit ba75e441eab1713cac9219d93d06c478c0bc93df)
* Add the ability to detect ispell lib directoryOBATA Akio2021-02-031-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> (cherry picked from commit bbe1b42cbbc7293041a83b154f969792a2592510)
* Add definitions for X11_RGBFILE and XMLLINT in config.hgregory guy2021-02-031-0/+24
| | | | | Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit 2706c5674eb1ea3fffdca4d8c3edb3b25335e731)
* Add support of posix_openpt(2) to open master pseudo terminal deviceOBATA Akio2021-02-031-0/+1
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 8e542575e044baf23ae636d32f1c6d4e3b8dea18)
* Add a knob to use fixed path `iceauth` toolOBATA Akio2021-02-031-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> (cherry picked from commit ac8c8ca54aaed1466255161a3d727dcfade4a7d9)
* Fix to set DCOP_PATH properlyOBATA Akio2021-02-031-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> (cherry picked from commit 56c5973b6b33df77a7491b07411cbd772c0d5d79)
* Add `getservbyname_r` prototype detection to CMakeOBATA Akio2021-02-031-0/+1
| | | | | | | OpenBSD's prototype is differ than glibc's one, but it is declared. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 6886dd7e96d475b64ac3c41a96a759c7d5fa2be9)
* Fix to detect vsnprintf prototype properlyOBATA Akio2021-02-031-1/+1
| | | | | | | From the standard sepc, <stdio.h> is required in addition to <stdarg.h> Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit cc7cd8323514e0dbd0a485128491e619f3f19633)
* Allow to use backtrace(3) external library for kdebugOBATA Akio2021-02-031-1/+12
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 2167207adc49b498536a5a8533c27fc67e0c6e9c)
* Use target names for commands instead of full paths.Slávek Banko2021-02-031-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> (cherry picked from commit 98436f882d2146fe156c26e81bb87d409cfcf819)
* Enable the use of dcopidlng during build tdelibs.Slávek Banko2021-02-031-0/+5
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit ef23612c5643909edcad8665fadd82583501a602)
* Fix typo in the SSL library check rules.Slávek Banko2021-02-031-2/+2
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit aa244c3700e31955b3294c9aa3b71a020d746d67)
* Use the correct macros isnan, isinf for libc compatibilityMatías Fonzo2021-02-031-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> (cherry picked from commit 8ae17a5d9d77d489a2d16529f16680d31374537e)
* Fix building with avahi supportSlávek Banko2021-02-031-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> (cherry picked from commit 281e2da7f14eca57104dbd3f7da39506011729a8)
* Use system libdir when searching for dynamically loaded libraries.Slávek Banko2019-02-271-0/+12
| | | | | | | This prevents finding an incorrect architecture on multi-arch systems. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 8a859540c3cb306844288144a06028dc302408d6)
* 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> (cherry picked from commit 5de71676ac3ab1b305ff02185bb683af1a1c3dee)
* 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> (cherry picked from commit ebf0115af1c52612e02fd8908b4240501bd34c60)
* Use common GCC visibility test.Slávek Banko2019-01-281-8/+1
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 83e4c4d56c1bda0a7b925c8dccb971d7a3a12362)
* 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. (cherry picked from commit 6716d0dfb9c50b388817118469d1e2b7dc7ae46a)
* fix issue #3 utempter detectiongregory guy2018-11-171-2/+2
| | | | | Signed-off-by: gregory guy <g-gregory@gmx.fr> (cherry picked from commit 82afa07a430c43bc122c7325dc67fb9f3ad6216a)
* Add paths to the search for utempter helperSlávek Banko2018-03-101-0/+2
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 98ba18d0fc275af53746782e36f0b71d667f591d)
* 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> (cherry picked from commit a14adb9ab9c50cbcd95a2d2e3f42c41fecf73fb0)
* Allow openssl detection without pkg-config fileSlávek Banko2017-07-221-1/+9
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 2aa548763e7d1dd7a10427df45988a78b3e97b8b)
* Fix detection whether the system is big endianSlávek Banko2017-07-221-0/+3
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 7cc97cb18734939136579c086bf6758f3a4c18ad)
* Initial add for check target for cmakeAlexander Golubev2017-07-221-0/+1
| | | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 0c64a776ddecfa33a37318e79b8811d9774579ae)
* Fix FTBFS on missing magic_getpathSlávek Banko2017-07-221-0/+20
| | | | (cherry picked from commit 03a61295af97983a2313df9717653a466c99ef03)
* Fix dlerror and crypt detection for CMake buildSlávek Banko2015-12-231-0/+21
| | | | | | | This resolves Bug 654 Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 4925611808ccb524a6c0bd225fb39b52ae1cf1ae)
* Fix openpty detection with libutil.hSlávek Banko2015-12-231-12/+8
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit e75569be1b7bf138685d0e4941daf111e6f51ba3)
* Fix detection for option TDEINIT_USE_XFT with CMake buildSlávek Banko2015-12-231-1/+8
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 14243cc8ead795531e47954763cc8b1bec94a092)
* Fix setting some constants in config.h with CMake buildSlávek Banko2015-12-231-0/+9
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit f17c618004e799eb1ae9dc35907a7b9431968ba2)
* Fix detection of LZMA without pkgconfig fileSlávek Banko2015-12-231-1/+12
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit d107d0b0d758225d0b01429410200f51c91efe54)
* Improve ACL detection for CMake buildSlávek Banko2015-12-231-3/+15
| | | | | | | Fix hidden visibility in posixacladdons Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 6ebff397515bf153ea95d7e80d21ca9a0f97708d)
* Add include directory for internal libltdlSlávek Banko2015-12-231-1/+3
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit dfd680030c18adaa4f299a4092d9ac6d5945cadc)
* Add mit-shm extension support for CMake buildSlávek Banko2015-12-231-2/+15
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 5b95b86a5bbe9a4f558712b3e2173f90b7cd0dd5)
* Fix xext configure check for CMake buildSlávek Banko2015-12-231-3/+9
| | | | | | | This resolves Bug 2410 Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit c80f418abf9c3061b0fb7759a1e560a0ab1243fe)
* Add a cmake detection for Xext libraryFrançois Andriot2015-12-231-0/+6
| | | | | | Remove hardcoded Xext flags in tderandr and tdestyles/keramik Add missing link flag in tdeui (cherry picked from commit aae8990d33bbfee205c75dc7e48e1c64f2beeff0)
* Fix openpty detection on openbsdFrançois Andriot2015-12-231-10/+23
| | | | (cherry picked from commit e255a8ca6387cc1f100beffe39f889328e8f2a41)
* Fix detection of some headers on openbsdFrançois Andriot2015-12-231-1/+22
| | | | | Many headers requires additional include stdlib.h (cherry picked from commit 3f5a4b419f7907ba61c6f63458e0413cccb74760)
* Fix hardcoded link flag to "dl" libraryFrançois Andriot2015-12-231-4/+9
| | | | | Fix "dlopen" function detection (cherry picked from commit af2c2afb25ce2b62767cdc639cf6d0c4fb967eaa)
* Fix tdecore directories of linked librariesSlávek Banko2015-12-231-0/+6
| | | | (cherry picked from commit 62ac96e110e21c0289e890b6e2a824b61d5cb055)
* Add new build option WITH_XCOMPOSITEAlexander Golubev2015-12-231-4/+10
| | | | | | Fix build without xcomposite This resolves Bug 1289 (cherry picked from commit 6e81fa9ce19536f7b5c7de37f710a416bb31eaf3)
* Fix tdesu backend check in CMakeSlávek Banko2015-12-231-19/+10
| | | | | This relates to Bug 1655 (cherry picked from commit 11b5fd8f08aa59fdfed395d7e6de0aa6914fb021)