cmake: fix small bug introduced over recent merge

This commit is contained in:
Marc-André Moreau 2011-09-19 01:28:48 -04:00
parent 565fca5671
commit bdbe1437eb

View File

@ -58,8 +58,7 @@ endif()
# Compiler-specific flags
if(CMAKE_COMPILER_IS_GNUCC)
#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-unused-but-set-variable")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -lncurses")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-unused-but-set-variable")
if(CMAKE_BUILD_TYPE STREQUAL "Release")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2")
endif()