mirror of
https://github.com/rizinorg/cutter
synced 2026-08-11 16:23:06 -04:00
Add zlib in windows package for rz-ghidra (#3633)
This commit is contained in:
parent
d48436b8e2
commit
94b3213e8f
2 changed files with 11 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -538,7 +538,7 @@ jobs:
|
|||
-DCUTTER_ENABLE_DEPENDENCY_DOWNLOADS=ON ^
|
||||
-DCMAKE_PREFIX_PATH="%CUTTER_DEPS%\pyside" ^
|
||||
-DCPACK_PACKAGE_FILE_NAME=%PACKAGE_NAME% ^
|
||||
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake ^
|
||||
-DCMAKE_TOOLCHAIN_FILE=%VCPKG_INSTALLATION_ROOT%/scripts/buildsystems/vcpkg.cmake ^
|
||||
-G Ninja ^
|
||||
..
|
||||
cmake --build . --config Release
|
||||
|
|
|
|||
10
dist/CMakeLists.txt
vendored
10
dist/CMakeLists.txt
vendored
|
|
@ -217,6 +217,16 @@ if(CUTTER_PACKAGE_RZ_GHIDRA)
|
|||
else()
|
||||
set (GHIDRA_OPTIONS "-DCUTTER_INSTALL_PLUGDIR=\${CMAKE_INSTALL_PREFIX}/share/rizin/cutter/plugins/native")
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
if(EXISTS "$ENV{VCPKG_INSTALLATION_ROOT}/packages/zlib_x64-windows/bin/z.dll")
|
||||
install(FILES "$ENV{VCPKG_INSTALLATION_ROOT}/packages/zlib_x64-windows/bin/z.dll" DESTINATION .)
|
||||
message(STATUS "Found z.dll for rz-ghidra")
|
||||
else()
|
||||
message(WARNING "z.dll was not found at the expected vcpkg path. rz-ghidra might not load properly")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
install(CODE "
|
||||
execute_process(
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/rz-ghidra-prefix/src/rz-ghidra-build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue