Commit graph

5 commits

Author SHA1 Message Date
Florian Märkl
06ee5e3aaf
Replace meson cmake module usage by plain configure_file() (#2948)
As due to https://github.com/mesonbuild/meson/issues/9702 we are not
using the expansion of @PACKAGE_INIT@ anyway, the cmake module provides
little additional value over a plain configure_file().
More importantly, by not using it, we get full support for muon, which
does not implement the cmake module yet.
2022-08-21 22:01:54 +08:00
Khairul Azhar Kasmiran
d57ee6c549
CMake: Add NO_DEFAULT_PATH to find_package / find_dependency (#2732) 2022-06-24 06:40:56 +08:00
Khairul Azhar Kasmiran
087ef8e362
CMake: Fix _rizin_cmake_path (#2709) 2022-06-22 10:53:04 +02:00
Riccardo Schirone
c65509c1cd
Remove the wrong PACKAGE_INIT defined by meson and completely replace it (#2122)
Just remove the PACKAGE_INIT because broken and use our own definitions
of PACKAGE_PREFIX_DIR and set_and_check.
2021-12-20 21:55:24 +08:00
Riccardo Schirone
47e1cb8335
Provide CMake config files for CMake projects (#2057)
* Remove wrong librz.pc.in file
* Add plugindir variable to .pc files to allow easy plugin configuration
* Add CMake config files to find Rizin in CMake projects
* Add CI jobs to check cmake files
* Provide workaround for mesonbuild/meson#9702
* Use .lib suffix and no prefix on MSVC to make CMake files work
* Disable cmake files on static libraries build
2021-12-17 09:16:25 +00:00