diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2020-11-13 17:48:22 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2020-11-13 17:48:22 +0800 |
commit | dbb17141e2b6d3cbd8b7ad1c74aa2c8022a7ad15 (patch) | |
tree | 957379e97551da597bb33daf52df21f4e0a4056b /CMakeLists.txt | |
parent | 8fac36ea8dff207769775cbdfe3a8ce49fb794fd (diff) |
Add /usr/local for macOS
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
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 |