CMake: Use inherited dependencies in common and tools (partial pick, need help on this)

This commit is contained in:
Aokromes
2016-05-23 06:24:26 +02:00
parent beade4616a
commit 460a660d4f
6 changed files with 124 additions and 59 deletions

View File

@@ -8,10 +8,6 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
if (NOT MYSQL_FOUND)
message(SEND_ERROR "MySQL wasn't found on your system but it's required to build the servers!")
endif()
if( USE_COREPCH )
include_directories(${CMAKE_CURRENT_BINARY_DIR})
endif()