aboutsummaryrefslogtreecommitdiff
path: root/cmake/options.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/options.cmake')
-rw-r--r--cmake/options.cmake8
1 files changed, 6 insertions, 2 deletions
diff --git a/cmake/options.cmake b/cmake/options.cmake
index 4267989b046..0125cff5f85 100644
--- a/cmake/options.cmake
+++ b/cmake/options.cmake
@@ -37,6 +37,7 @@ option(TOOLS "Build map/vmap/mmap extraction/assembler tools"
option(USE_SCRIPTPCH "Use precompiled headers when compiling scripts" 1)
option(USE_COREPCH "Use precompiled headers when compiling servers" 1)
option(WITH_DYNAMIC_LINKING "Enable dynamic library linking." 0)
+option(WITH_FILESYSTEM_WATCHER "Include filesystem watcher library" 0)
IsDynamicLinkingRequired(WITH_DYNAMIC_LINKING_FORCED)
if(WITH_DYNAMIC_LINKING AND WITH_DYNAMIC_LINKING_FORCED)
set(WITH_DYNAMIC_LINKING_FORCED OFF)
@@ -46,6 +47,9 @@ if(WITH_DYNAMIC_LINKING OR WITH_DYNAMIC_LINKING_FORCED)
else()
set(BUILD_SHARED_LIBS OFF)
endif()
+if(WITH_FILESYSTEM_WATCHER OR BUILD_SHARED_LIBS)
+ set(BUILD_EFSW ON)
+endif()
option(WITH_WARNINGS "Show all warnings during compile" 0)
option(WITH_COREDEBUG "Include additional debug-code in core" 0)
option(WITHOUT_METRICS "Disable metrics reporting (i.e. InfluxDB and Grafana)" 0)
@@ -54,8 +58,8 @@ option(COPY_CONF "Copy authserver and worldserver .conf.dist files to the
set(WITH_SOURCE_TREE "hierarchical" CACHE STRING "Build the source tree for IDE's.")
set_property(CACHE WITH_SOURCE_TREE PROPERTY STRINGS no flat hierarchical hierarchical-folders)
option(WITHOUT_GIT "Disable the GIT testing routines" 0)
-option(BUILD_TESTING "Build test suite" 0)
+option(BUILD_TESTING "Build test suite" 0)
if(UNIX)
- option(USE_LD_GOLD "Use GNU gold linker" 0)
+ option(USE_LD_GOLD "Use GNU gold linker" 0)
endif()