Commit graph

8 commits

Author SHA1 Message Date
Riccardo Schirone
4fe99052f4
build: propagate OpenSSL in CMake exports (#6284)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: NOT XVilka <notxvilka@proton.me>
2026-05-06 10:04:34 +00:00
Zeck
e56fe8ac7f
fix sign cmake library (#4595) 2024-08-19 14:12:42 +08:00
Florian Märkl
7ca9baebb0
Fix false-positive skipping of components in cmake config (#2807)
When calling
```
find_package(Rizin REQUIRED COMPONENTS Core)
find_package(Rizin REQUIRED COMPONENTS Util)
```
The first call would create only `Rizin::Core`, but `rz_util_FOUND`
would aso be true. Thus, in the second call, `Rizin::Util` would not be
created because of this check.
So instead of the `..._FOUND` variable, we directly check if the
`Rizin::...` target exists.
2022-07-14 17:03:37 +02: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
Florian Märkl
be48ddcd9f
Avoid trying to re-create targets in cmake config (#2471)
When `find_package(Rizin ...)` would be called multiple times, the
second add_library call would error because the target already exists.
2022-03-30 20:11:56 +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