From dbb17141e2b6d3cbd8b7ad1c74aa2c8022a7ad15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Fri, 13 Nov 2020 17:48:22 +0800 Subject: Add /usr/local for macOS --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c4e8e0e..5bee888 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,6 +17,11 @@ add_library(${PROJECT_NAME} SHARED client.cxx ) +if (APPLE) + include_directories(/usr/local/include) + target_link_directories(${PROJECT_NAME} PRIVATE /usr/local/lib) +endif() + target_link_libraries(${PROJECT_NAME} Qt5::Core rtclient -- cgit v1.2.3