aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorclick <none@none>2010-07-31 05:36:05 +0200
committerclick <none@none>2010-07-31 05:36:05 +0200
commit60b119e0cafc1d0bc89bf81e81be00856b0ae42d (patch)
treeac2dfd9d0d4c119638a64a38554d036c4419fb5e /src
parent7e4235ac086093e6cffc10213ca41d7d059cc082 (diff)
Buildsystem/CMake: Revert changes from r0fa0512527 and use the proper checks (fix logic-error in buildfile)
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/server/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/server/CMakeLists.txt b/src/server/CMakeLists.txt
index cf0c9f5ca72..4191d4c011a 100644
--- a/src/server/CMakeLists.txt
+++ b/src/server/CMakeLists.txt
@@ -17,7 +17,8 @@ if( SERVERS )
add_subdirectory(scripts)
endif()
add_subdirectory(worldserver)
-endif()
-if( TOOLS )
- add_subdirectory(collision)
+else()
+ if( TOOLS )
+ add_subdirectory(collision)
+ endif()
endif()