aboutsummaryrefslogtreecommitdiff
path: root/src/server/database
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/database')
-rw-r--r--src/server/database/CMakeLists.txt6
-rw-r--r--src/server/database/PrecompiledHeaders/databasePCH.cpp18
2 files changed, 1 insertions, 23 deletions
diff --git a/src/server/database/CMakeLists.txt b/src/server/database/CMakeLists.txt
index 0e8bd80c3b9..bcba7ead06c 100644
--- a/src/server/database/CMakeLists.txt
+++ b/src/server/database/CMakeLists.txt
@@ -16,10 +16,6 @@ CollectSourceFiles(
if (USE_COREPCH)
set(PRIVATE_PCH_HEADER PrecompiledHeaders/databasePCH.h)
- set(PRIVATE_PCH_SOURCE PrecompiledHeaders/databasePCH.cpp)
- if (MSVC)
- list(INSERT PRIVATE_SOURCES 0 PrecompiledHeaders/databasePCH.cpp)
- endif (MSVC)
endif()
GroupSources(${CMAKE_CURRENT_SOURCE_DIR})
@@ -75,5 +71,5 @@ endif()
# Generate precompiled header
if (USE_COREPCH)
- add_cxx_pch(database ${PRIVATE_PCH_HEADER} ${PRIVATE_PCH_SOURCE})
+ add_cxx_pch(database ${PRIVATE_PCH_HEADER})
endif ()
diff --git a/src/server/database/PrecompiledHeaders/databasePCH.cpp b/src/server/database/PrecompiledHeaders/databasePCH.cpp
deleted file mode 100644
index afc3186b656..00000000000
--- a/src/server/database/PrecompiledHeaders/databasePCH.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * Copyright (C) 2008-2017 TrinityCore <http://www.trinitycore.org/>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include "databasePCH.h"