aboutsummaryrefslogtreecommitdiff
path: root/cmake/options.cmake
diff options
context:
space:
mode:
authorNaios <naios-dev@live.de>2016-03-16 17:44:35 +0100
committerNaios <naios-dev@live.de>2016-03-19 23:19:56 +0100
commit90274d0337e5bf62d7e0ab4d08f04419d6f81446 (patch)
tree6bc71943b9f2886a7209878de0cdf71c2554ff1d /cmake/options.cmake
parenta5c2c0c037b7f5fdef49aa37052c9f58e39488db (diff)
CMake: Remove the workaround for source groups below CMake 2.8.12
* Set the default option to hierarchical * Add a new "hierarchical-folders" option which enables folders inside IDE's. (cherry picked from commit bf773ccc417b47d01502c8151cea6188e33e16aa)
Diffstat (limited to 'cmake/options.cmake')
-rw-r--r--cmake/options.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/options.cmake b/cmake/options.cmake
index 23c913363e1..6b6a672adc6 100644
--- a/cmake/options.cmake
+++ b/cmake/options.cmake
@@ -15,6 +15,6 @@ option(USE_SCRIPTPCH "Use precompiled headers when compiling scripts"
option(USE_COREPCH "Use precompiled headers when compiling servers" 1)
option(WITH_WARNINGS "Show all warnings during compile" 0)
option(WITH_COREDEBUG "Include additional debug-code in core" 0)
-set(WITH_SOURCE_TREE "no" CACHE STRING "Build the source tree for IDE's.")
-set_property(CACHE WITH_SOURCE_TREE PROPERTY STRINGS no flat hierarchical)
+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)