Buildsystem/CMake: Revert changes from r0fa0512527 and use the proper checks (fix logic-error in buildfile)
--HG-- branch : trunk
This commit is contained in:
1 parent
7e4235ac08
commit
60b119e0ca
2 files changed
+4
-4
No files matched your search
@@ -12,7 +12,6 @@ project(TrinityCore)
|
||||
|
||||
# CMake policies
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
cmake_policy(SET CMP0002 OLD)
|
||||
cmake_policy(SET CMP0005 OLD)
|
||||
|
||||
#
|
||||
|
||||
@@ -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()
|
||||
Reference in new issue
Block a user