Skip to content

Commit

Permalink
cmake warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvova committed Jun 2, 2023
1 parent 270c233 commit d785fa8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -27,8 +27,6 @@ IF(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
"None" "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
ENDIF()

PROJECT(MySQL)

IF(POLICY CMP0022)
CMAKE_POLICY(SET CMP0022 NEW)
ENDIF()
Expand All @@ -42,6 +40,8 @@ IF(POLICY CMP0075)
CMAKE_POLICY(SET CMP0075 NEW)
ENDIF()

PROJECT(MySQL)

MESSAGE(STATUS "Running cmake version ${CMAKE_VERSION}")

SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
Expand Down
2 changes: 1 addition & 1 deletion storage/mroonga/vendor/groonga/CMakeLists.txt
Expand Up @@ -15,7 +15,7 @@

# https://buildbot.askmonty.org/buildbot/builders/work-amd64-valgrind/builds/5263/steps/compile/logs/stdio
# says CMake 2.6.2... We want to drop old software support...
cmake_minimum_required(VERSION 2.6.2)
cmake_minimum_required(VERSION 2.8.12)
# cmake_minimum_required(VERSION 2.6.4) # CentOS 5
set(GRN_PROJECT_NAME "groonga")
set(GRN_PROJECT_LABEL "Groonga")
Expand Down
Expand Up @@ -15,7 +15,7 @@
# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
# MA 02110-1335 USA

cmake_minimum_required(VERSION 2.6)
cmake_minimum_required(VERSION 2.8.12)
if(NOT DEFINED GROONGA_NORMALIZER_MYSQL_PROJECT_NAME)
set(GROONGA_NORMALIZER_MYSQL_PROJECT_NAME "groonga-normalizer-mysql")
endif()
Expand Down
4 changes: 4 additions & 0 deletions storage/tokudb/CMakeLists.txt
Expand Up @@ -3,6 +3,10 @@ SET(CPACK_RPM_tokudb-engine_PACKAGE_DESCRIPTION "The TokuDB storage engine is fo
environments, offering increased compression and better performance based
on fractal indexes." PARENT_SCOPE)

IF(POLICY CMP0115)
CMAKE_POLICY(SET CMP0115 OLD)
ENDIF()

SET(TOKUDB_VERSION 5.6.49-89.0)
# PerconaFT only supports x86-64 and cmake-2.8.9+
IF(WIN32)
Expand Down

0 comments on commit d785fa8

Please sign in to comment.