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

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

No files matched your search

-2
View File
@@ -12,8 +12,6 @@
# This to stop a few silly crashes that could have been avoided IF people
# weren't doing some -O3 psychooptimizations etc.
find_package(MySQL REQUIRED)
if(CMAKE_COMPILER_IS_GNUCXX AND NOT MINGW)
add_definitions(-fno-delete-null-pointer-checks)
endif()
-4
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()