Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
b07a6f45
Commit
b07a6f45
authored
Apr 26, 2021
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-25232 - CMake deprecation warning about CMAKE_MINIMUM_REQUIRED < 2.8.12
parent
91599701
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
15 deletions
+14
-15
CMakeLists.txt
CMakeLists.txt
+13
-14
storage/mroonga/CMakeLists.txt
storage/mroonga/CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
b07a6f45
...
...
@@ -14,7 +14,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8.5
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8.12
)
PROJECT
(
MySQL
)
# explicitly set the policy to OLD
# (cannot use NEW, not everyone is on cmake-2.8.12 yet)
...
...
@@ -53,8 +54,16 @@ IF(NOT DEFINED MANUFACTURER)
MARK_AS_ADVANCED
(
MANUFACTURER
)
ENDIF
()
SET
(
CMAKE_BUILD_TYPE
"RelWithDebInfo"
CACHE STRING
"Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel"
)
IF
(
NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES
)
# Setting build type to RelWithDebInfo as none was specified.")
SET
(
CMAKE_BUILD_TYPE
"RelWithDebInfo"
CACHE STRING
"Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel"
FORCE
)
# Set the possible values of build type for cmake-gui
SET_PROPERTY
(
CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
"None"
"Debug"
"Release"
"MinSizeRel"
"RelWithDebInfo"
)
ENDIF
()
# MAX_INDEXES - Set the maximum number of indexes per table, default 64
IF
(
NOT MAX_INDEXES
)
...
...
@@ -83,18 +92,8 @@ IF(UNIX AND NOT APPLE)
MARK_AS_ADVANCED
(
WITH_PIC
)
ENDIF
()
# Optionally set project name, e.g.
# foo.xcodeproj (mac) or foo.sln (windows)
# This is used by TokuDB only
SET
(
MYSQL_PROJECT_NAME_DOCSTRING
"MySQL project name"
)
IF
(
DEFINED MYSQL_PROJECT_NAME
)
SET
(
MYSQL_PROJECT_NAME
${
MYSQL_PROJECT_NAME
}
CACHE STRING
${
MYSQL_PROJECT_NAME_DOCSTRING
}
FORCE
)
ELSE
()
SET
(
MYSQL_PROJECT_NAME
"MySQL"
CACHE STRING
${
MYSQL_PROJECT_NAME_DOCSTRING
}
FORCE
)
MARK_AS_ADVANCED
(
MYSQL_PROJECT_NAME
)
ENDIF
()
PROJECT
(
${
MYSQL_PROJECT_NAME
}
)
SET
(
CPACK_PACKAGE_NAME
"MariaDB"
)
SET
(
CPACK_PACKAGE_DESCRIPTION_SUMMARY
"MariaDB: a very fast and robust SQL database server"
)
...
...
storage/mroonga/CMakeLists.txt
View file @
b07a6f45
...
...
@@ -17,7 +17,7 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
cmake_minimum_required
(
VERSION 2.
6
)
cmake_minimum_required
(
VERSION 2.
8.12
)
project
(
mroonga
)
if
(
"
${
CMAKE_SOURCE_DIR
}
"
STREQUAL
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment