Skip to content

Commit e57866a

Browse files
author
click
committed
Buildsystem: Stop the retarded recursive hunting for CMakeLists.txt when copying SQL-files nad use the proper method for direct copying.
Closes issue 5240 --HG-- branch : trunk
1 parent a99e12c commit e57866a

11 files changed

Lines changed: 19 additions & 46 deletions

File tree

sql/CMakeLists.txt

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
1+
# Copyright (C) 2005-2010 Trinity <http://www.trinitycore.org/>
2+
#
3+
# This file is free software; as a special exception the author gives
4+
# unlimited permission to copy and/or distribute it, with or without
5+
# modifications, as long as this notice is preserved.
6+
#
7+
# This program is distributed in the hope that it will be useful, but
8+
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
9+
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10+
111
if( WITH_SQL )
2-
add_subdirectory(updates)
3-
add_subdirectory(scripts)
4-
add_subdirectory(base)
5-
add_subdirectory(create)
12+
install(
13+
DIRECTORY
14+
updates
15+
scripts
16+
base
17+
create
18+
DESTINATION
19+
shared/trinity/sql
20+
)
621
endif()

sql/create/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

sql/scripts/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

sql/updates/2.4.3_old/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

sql/updates/3.0.9_old/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

sql/updates/3.1.3_old/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

sql/updates/3.2.2a_old/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

sql/updates/3.3.2_old/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

sql/updates/3.3.3a_old/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

sql/updates/3.3.5a_old/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)