From b5a15cf47b9c8d6edac5ebb0b413569dc57c95ee Mon Sep 17 00:00:00 2001 From: ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ Date: Sun, 14 Nov 2021 07:53:14 +0800 Subject: FreeBSD ports directories included --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index eff56af..0535438 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,10 @@ set(SRCS member.cxx admin.cxx ) +if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD") + include_directories(/usr/local/include) + link_directories(/usr/local/lib) +endif() if (EMSCRIPTEN OR IOS) add_library(${PROJECT_NAME} STATIC ${SRCS}) else() -- cgit v1.3