[CMAKE]: Move the debug setting to the right place
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
parent
3288e28168
commit
79206c3a22
|
@ -4,8 +4,9 @@ project(pahole)
|
|||
# before ${CMAKE_ROOT}/Modules/ is checked
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")
|
||||
|
||||
SET(CMAKE_BUILD_TYPE debug)
|
||||
|
||||
find_package(DWARF REQUIRED)
|
||||
SET(CMAKE_BUILD_TYPE Debug)
|
||||
|
||||
SET(classes_LIB_SRCS classes.c)
|
||||
ADD_LIBRARY(classes SHARED ${classes_LIB_SRCS})
|
||||
|
|
Loading…
Reference in New Issue