diff --git a/neo/CMakeLists.txt b/neo/CMakeLists.txt index e159bcb7..c53afadb 100644 --- a/neo/CMakeLists.txt +++ b/neo/CMakeLists.txt @@ -27,6 +27,7 @@ include(GNUInstallDirs OPTIONAL RESULT_VARIABLE GNUINSTALLDIRS) option(CORE "Build the core" ON) option(BASE "Build the base game code" ON) option(D3XP "Build the d3xp game code" ON) +option(MODS "Build game code for additional mods" OFF) option(DEDICATED "Build the dedicated server" OFF) option(ONATIVE "Optimize for the host CPU" OFF) option(SDL2 "Use SDL2 instead of SDL1.2" OFF) @@ -828,3 +829,8 @@ if(D3XP) ) endif() endif() + +if (MODS) + add_subdirectory(mods) +endif() +