mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-20 02:30:05 +02:00
27 lines
804 B
Plaintext
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
|
|
|