From d395be256b310ae78d518425f36ae4f84908c223 Mon Sep 17 00:00:00 2001 From: defnax <9952056+defnax@users.noreply.github.com> Date: Sun, 24 Dec 2023 18:56:43 +0100 Subject: [PATCH] fix cmake compile on macos to find include and libs path --- retroshare-service/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/retroshare-service/CMakeLists.txt b/retroshare-service/CMakeLists.txt index c7560728e..97562c91e 100644 --- a/retroshare-service/CMakeLists.txt +++ b/retroshare-service/CMakeLists.txt @@ -10,6 +10,11 @@ project(retroshare-service) include(CMakeDependentOption) +if(APPLE) + include_directories("/usr/local/include") + LINK_DIRECTORIES("/usr/local/lib") +endif() + set( RS_BIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin"