summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2015-05-25 08:07:18 +0200
committerAlexander Harkness <me@bearbin.net>2015-05-25 08:07:18 +0200
commit150024265e10cc5f5769d5638c10078ec493f210 (patch)
tree72dbacde2f6f5a25db9d3f3c9800280ba15ad130 /src/CMakeLists.txt
parentMerge pull request #2114 from cengizIO/master (diff)
parentSupport building on FreeBSD (diff)
downloadcuberite-150024265e10cc5f5769d5638c10078ec493f210.tar
cuberite-150024265e10cc5f5769d5638c10078ec493f210.tar.gz
cuberite-150024265e10cc5f5769d5638c10078ec493f210.tar.bz2
cuberite-150024265e10cc5f5769d5638c10078ec493f210.tar.lz
cuberite-150024265e10cc5f5769d5638c10078ec493f210.tar.xz
cuberite-150024265e10cc5f5769d5638c10078ec493f210.tar.zst
cuberite-150024265e10cc5f5769d5638c10078ec493f210.zip
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 25de24c91..1b721100d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -332,4 +332,9 @@ endif ()
if (WIN32)
target_link_libraries(${EXECUTABLE} expat tolualib ws2_32.lib Psapi.lib)
endif()
+
+if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
+ add_flags_lnk(-L/usr/local/lib)
+endif()
+
target_link_libraries(${EXECUTABLE} luaexpat jsoncpp mbedtls zlib sqlite lua SQLiteCpp event_core event_extra)