Merge pull request #2812 from defnax/fix-cmake-macos

[macOS] fix cmake compile on macos to find include and libs path
This commit is contained in:
csoler 2024-01-01 15:41:21 +01:00 committed by GitHub
commit 73f1da20f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"