Files
haikuports/dev-util/cutter/patches/cutter-1.3.patchset
miqlas 2bc2838a26 Cutter 1.3 (#2374)
* WIP

* Cutter: needs radare 2.4.0

* Cleanup
2018-04-09 18:17:48 +02:00

27 lines
804 B
Plaintext

From d7738ed7b32ba004bc6fead3b208e5c00706c0c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
Date: Thu, 11 Jan 2018 21:21:34 +0100
Subject: Help to find Radare2
diff --git a/src/cmake/FindRadare2.cmake b/src/cmake/FindRadare2.cmake
index db9a078..21ca5b4 100644
--- a/src/cmake/FindRadare2.cmake
+++ b/src/cmake/FindRadare2.cmake
@@ -8,10 +8,11 @@
# If libr was found using find_library and not pkg-config, the following variables will also be set:
# RADARE2_LIBRARY_<name> - Path to library r_<name>
-if(WIN32)
+if(WIN32 OR HAIKU)
find_path(RADARE2_INCLUDE_DIRS
NAMES r_core.h r_bin.h r_util.h
HINTS
+ "$ENV{RADARE2_INC_DIR}"
"$ENV{HOME}/bin/prefix/radare2/include/libr"
/usr/local/include/libr
/usr/include/libr)
--
2.15.1