Coulpe minor build fixes.

This commit is contained in:
Brenden Matthews
2010-01-04 18:38:29 -08:00
parent b8a678728c
commit 58cbbf57a3
5 changed files with 13 additions and 1 deletions

View File

@@ -22,6 +22,12 @@
include(ToLua)
add_definitions(-DTOLUA_RELEASE)
set(CMAKE_C_FLAGS "-O3")
set(CMAKE_C_FLAGS_DEBUG "-ggdb")
set(CMAKE_CXX_FLAGS "-O3")
set(CMAKE_CXX_FLAGS_DEBUG "-ggdb")
if(BUILD_LUA_CAIRO)
include_directories(${luacairo_includes} ${CMAKE_CURRENT_SOURCE_DIR})
wrap_tolua(luacairo_src cairo.pkg)