summaryrefslogtreecommitdiff
path: root/cmake
Commit message (Collapse)AuthorAgeFilesLines
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-253-3/+3
| | | | | | Task-number: QTBUG-105718 Change-Id: I3598499ab89b0e88718eded846306511000e8db9 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add license headers to cmake filesLucie Gérard2022-07-073-0/+9
| | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: Ifbf0be4c6f03259f9d084bbef4cf44fa60bf3fde Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* FindWrapWebP.cmake: fix CMake warningLi Xinwei2021-05-201-6/+6
| | | | | | | | | | | | | | | CMake Warning (dev) at .../cmake_64/share/cmake-3.19/Modules/ FindPackageHandleStandardArgs.cmake:426 (message): The package name passed to `find_package_handle_standard_args` (WebP) does not match the name of the calling package (WrapWebP). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Also, make find_package(PkgConfig) QUIET. Pick-to: 6.1 Change-Id: Ib5daaab88f74272c638d40f8b51226ae9636fbad Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* FindWrap[Jasper|WebP].cmake: bail out on existing targetsJoerg Bornemann2021-03-172-0/+14
| | | | | | | | Add the common bail out code we have in other FindWrap*.cmake files. Pick-to: 6.1 Change-Id: I6096b31fcf6a2181b22b74ccf285ce22e14c197b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix mng image plugin in cmake buildNiclas Rosenvik2021-02-241-0/+35
| | | | | | | | | | | | | Add cmake/FindLibmng.cmake based on qtbase/cmake/FindLibb2.cmake . Enable mng if found and link to the imported target provided by FindLibmng.cmake so that mng can be used. Libmng 1 did not come with a pkgconfig file and it is still in use so FindLibmng will use the normal cmake procedures if pkgconfig fails to find libmng. Pick-to: 6.1 Change-Id: Iecf4ede700b1bfdab84c98c7333547f0bcecc6b3 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Fix linking of WebP through CMake APIKai Köhne2020-12-101-2/+2
| | | | | | | | | | | | The library target name is WebP::libwebpmux, not WebP::webpmux [ChangeLog][Build System] Fixed an error that might have led to not compiling webp plugin when configuring Qt yourself. Pick-to: 6.0 Fixes: QTBUG-89280 Change-Id: Iaccad7d1b2ce580c6154d9bd01d5cc2d59ce7e56 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Adjust WebP Find moduleAlexandru Croitor2019-10-151-6/+12
| | | | | | | Imageformats now also requires finding the mux library. Change-Id: Iedd511e10aa8a10a67564cc7288baaf64d51e39f Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Fix qtimageformats buildingAlexandru Croitor2019-06-061-0/+41
| | | | | | | | | Some feature conditions were incorrect. Added forgotten FindWrapWebP.cmake file. Protect call to qt_find_package ZLIB. Change-Id: I033d38e4f69e94f7b72346b49bf6de4b2dbde8e0 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Initial CMake PortAlexandru Croitor2019-05-281-0/+11
Port 90% of imageformats to be built with CMake. Missing support for mng plugin and documentation. Change-Id: I1d7e4b93c6f8446468f00dbf0663a6a4ec8c9774 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>