Buildsystem/CMake: Revert changes from r0fa0512527 and use the proper checks (fix logic-error in buildfile)

--HG--
branch : trunk
This commit is contained in:
click
2010-07-31 05:36:05 +02:00
parent 7e4235ac08
commit 60b119e0ca
2 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,6 @@ project(TrinityCore)
# CMake policies
cmake_minimum_required(VERSION 2.6)
cmake_policy(SET CMP0002 OLD)
cmake_policy(SET CMP0005 OLD)
#

View File

@@ -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()