diff --git a/CMakeLists.txt b/CMakeLists.txt index cade7a7a..db476967 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -190,8 +190,9 @@ ENDIF ( WIN32 ) SET( CMAKE_C_FLAGS_RELEASE "-O3") SET( CMAKE_CXX_FLAGS_RELEASE "-O3") -SET( CMAKE_C_FLAGS_DEBUG "-g -Wall") -SET( CMAKE_CXX_FLAGS_DEBUG "-g -Wall") +SET( CMAKE_C_FLAGS_DEBUG "-g -pg -Wall") +SET( CMAKE_CXX_FLAGS_DEBUG "-g -pg -Wall") +SET( CMAKE_LINKER_FLAGS_DEBUG "-pg") add_subdirectory (fex)