From add4c1a7708fd2cb896f27559842a76f30930a0d Mon Sep 17 00:00:00 2001 From: ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ Date: Mon, 2 Jan 2023 18:08:59 +0800 Subject: /usr/local is explicit on Darwin too --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() -- cgit v1.3