mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
Move FreeBSD specific hacks to cmake/os/FreeBSD.cmake
This commit is contained in:
20
cmake/os/FreeBSD.cmake
Normal file
20
cmake/os/FreeBSD.cmake
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
# Copyright (C) 2010 Sun Microsystems, Inc
|
||||
#
|
||||
# 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; version 2 of the License.
|
||||
#
|
||||
# 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, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
# This file includes FreeBSD specific options and quirks, related to system checks
|
||||
#Legacy option, maybe not needed anymore , taken as is from autotools build
|
||||
ADD_DEFINITIONS(-DNET_RETRY_COUNT=1000000)
|
||||
|
@@ -105,9 +105,7 @@ ENDIF()
|
||||
|
||||
|
||||
#Some OS specific hacks
|
||||
IF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
||||
ADD_DEFINITIONS(-DNET_RETRY_COUNT=1000000)
|
||||
ELSEIF(CMAKE_SYSTEM MATCHES "HP-UX" AND CMAKE_SYSTEM MATCHES "11")
|
||||
IF(CMAKE_SYSTEM MATCHES "HP-UX" AND CMAKE_SYSTEM MATCHES "11")
|
||||
ADD_DEFINITIONS(-DHPUX11)
|
||||
ENDIF()
|
||||
|
||||
|
Reference in New Issue
Block a user