aports/testing/imhex/install.patch
George Hopkins b7812db6ff testing/imhex: new aport
https://github.com/WerWolv/ImHex
Hex editor for reverse engineers and programmers
2020-12-10 10:34:29 +00:00

14 lines
474 B
Diff

--- a/CMakeLists.txt 2020-12-09 12:04:36.507435489 +0100
+++ b/CMakeLists.txt 2020-12-09 12:54:11.939988738 +0100
@@ -96,4 +96,8 @@ endif (WIN32)
if (UNIX)
target_link_libraries(ImHex libglfw.so libmagic.so libcrypto.so libdl.so libcapstone.so ${llvm_libs} ${Python_LIBRARIES} nlohmann_json::nlohmann_json)
-endif (UNIX)
\ No newline at end of file
+endif (UNIX)
+
+SET_TARGET_PROPERTIES(ImHex PROPERTIES OUTPUT_NAME imhex)
+
+install(TARGETS ImHex DESTINATION bin)