cmake 3.14.3 warnings

This commit is contained in:
Sergei Golubchik 2019-07-12 19:16:19 +02:00
commit d78a14c599
4 changed files with 8 additions and 7 deletions

View file

@ -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")

View file

@ -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)