summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-11-14 07:53:14 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-11-14 07:53:14 +0800
commitb5a15cf47b9c8d6edac5ebb0b413569dc57c95ee (patch)
tree48d97eef1a031298b5a464d15ed969156d50c30e
parent93a857da620f0f102ceb310dff48dac3573c7dc3 (diff)
FreeBSD ports directories included
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
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()