fix cmake compile on macos to find include and libs path

This commit is contained in:
defnax 2023-12-24 18:56:43 +01:00 committed by GitHub
parent 081782c97c
commit d395be256b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,11 @@ project(retroshare-service)
include(CMakeDependentOption) include(CMakeDependentOption)
if(APPLE)
include_directories("/usr/local/include")
LINK_DIRECTORIES("/usr/local/lib")
endif()
set( set(
RS_BIN_INSTALL_DIR RS_BIN_INSTALL_DIR
"${CMAKE_INSTALL_PREFIX}/bin" "${CMAKE_INSTALL_PREFIX}/bin"