Commit 27fb650b authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix Windows embedded warnings

parent 11411f5b
LIBRARY LIBMYSQLD
DESCRIPTION 'MySQL 5.1 Embedded Server Library'
VERSION 5.1
EXPORTS
mysql_thread_end
......
......@@ -49,9 +49,10 @@ IF(MSVC)
PROPERTIES COMPILE_FLAGS -Od)
ENDIF()
# Avoid "unreferenced label" warning in generated file
SET_SOURCE_FILES_PROPERTIES(pars/pars0grm.c
GET_FILENAME_COMPONENT(_SRC_DIR ${CMAKE_CURRENT_LIST_FILE} PATH)
SET_SOURCE_FILES_PROPERTIES(${_SRC_DIR}/pars/pars0grm.c
PROPERTIES COMPILE_FLAGS "/wd4102")
SET_SOURCE_FILES_PROPERTIES(pars/lexyy.c
SET_SOURCE_FILES_PROPERTIES(${_SRC_DIR}/pars/lexyy.c
PROPERTIES COMPILE_FLAGS "/wd4003")
ENDIF()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment