Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Dont treat warnings as errors for lex generated sources
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6621 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Feb 18, 2007
1 parent beeedfb commit e27edee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/CMakeLists.txt
Expand Up @@ -69,6 +69,11 @@ ADD_FLEX_FILES(QGIS_CORE_SRCS qgssearchstringlexer.ll)

ADD_BISON_FILES(QGIS_CORE_SRCS qgssearchstringparser.yy)

# Disabe compiler warnings for lex generated sources
SET_SOURCE_FILES_PROPERTIES(
${CMAKE_BINARY_DIR}/src/core/flex_qgssearchstringlexer.cpp
PROPERTIES COMPILE_FLAGS -w)

SET(QGIS_CORE_MOC_HDRS
qgscontexthelp.h
qgscoordinatetransform.h
Expand Down

0 comments on commit e27edee

Please sign in to comment.