Skip to content
Permalink
Browse files

cmake 3.14.3 warnings

  • Loading branch information...
vuvova committed Jul 12, 2019
1 parent ee8477f commit d78a14c59949a01b2f044312460cd03ae6bee9d3
@@ -22,6 +22,9 @@ ENDIF()
IF(POLICY CMP0054)
CMAKE_POLICY(SET CMP0054 NEW)
ENDIF()
IF(POLICY CMP0075)
CMAKE_POLICY(SET CMP0075 NEW)
ENDIF()

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

@@ -77,9 +77,8 @@ if(DEFINED GRN_EMBED)
else()
set(GRN_EMBED_DEFAULT OFF)
endif()
option(GRN_EMBED
"Build as a static library to embed into an application"
${GRN_EMBED_DEFAULT})
set(GRN_EMBED ${GRN_EMBED_DEFAULT} CACHE BOOL
"Build as a static library to embed into an application")

set(BIN_DIR "bin")
set(SBIN_DIR "sbin")
@@ -25,9 +25,8 @@ if(DEFINED GROONGA_NORMALIZER_MYSQL_EMBED)
else()
set(GROONGA_NORMALIZER_MYSQL_EMBED_DEFAULT OFF)
endif()
option(GROONGA_NORMALIZER_MYSQL_EMBED
"Build as a static library to embed into an application"
${GROONGA_NORMALIZER_MYSQL_EMBED_DEFAULT})
set(GROONGA_NORMALIZER_MYSQL_EMBED ${GROONGA_NORMALIZER_MYSQL_EMBED_DEFAULT}
CACHE BOOL "Build as a static library to embed into an application")

file(READ "${CMAKE_CURRENT_SOURCE_DIR}/version" VERSION)

@@ -134,4 +134,4 @@ static __thread int tlsvar = 0;
int main(void) { return tlsvar; }" HAVE_GNU_TLS)

## set TOKUDB_REVISION
set(CMAKE_TOKUDB_REVISION 0 CACHE INTEGER "Revision of tokudb.")
set(CMAKE_TOKUDB_REVISION 0 CACHE INTERNAL "Revision of tokudb.")

0 comments on commit d78a14c

Please sign in to comment.
You can’t perform that action at this time.