summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2020-11-13 17:48:22 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2020-11-13 17:48:22 +0800
commitdbb17141e2b6d3cbd8b7ad1c74aa2c8022a7ad15 (patch)
tree957379e97551da597bb33daf52df21f4e0a4056b /CMakeLists.txt
parent8fac36ea8dff207769775cbdfe3a8ce49fb794fd (diff)
Add /usr/local for macOS
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
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