summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-01-02 18:08:59 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-01-02 18:08:59 +0800
commitadd4c1a7708fd2cb896f27559842a76f30930a0d (patch)
tree38aba3b9e747ff51cb4ec1bdd0f17791abf38a19 /CMakeLists.txt
parenta40fe18ee941df058eb54112839998596e11c50b (diff)
/usr/local is explicit on Darwin too
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a950ce7..09eb54e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,7 +18,8 @@ set(SRCS
member.cxx
admin.cxx
)
-if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+if (CMAKE_SYSTEM_NAME MATCHES "Darwin"
+ OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
include_directories(/usr/local/include)
link_directories(/usr/local/lib)
endif()