CMakeLists.txt

changeset 956
2af18ba2665f
parent 954
7feaa1a3c438
child 957
429c7ed3cc54
equal deleted inserted replaced
955:39d789d675fc 956:2af18ba2665f
143 143
144 set (LDFORGE_RESOURCES ldforge.qrc) 144 set (LDFORGE_RESOURCES ldforge.qrc)
145 # set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lGLU") 145 # set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lGLU")
146 146
147 if (NOT MSVC) 147 if (NOT MSVC)
148 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -W -Wall") 148 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -W -Wall -Wno-maybe-uninitialized")
149 endif() 149 endif()
150 150
151 if (TRANSPARENT_DIRECT_COLORS) 151 if (TRANSPARENT_DIRECT_COLORS)
152 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTRANSPARENT_DIRECT_COLORS") 152 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTRANSPARENT_DIRECT_COLORS")
153 endif() 153 endif()

mercurial