# Option GPROF, default OFF
# GNU gprof build

OPTION(GPROF "gprof build" OFF)
IF(GPROF)
  SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pg") 
  SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pg")
ENDIF(GPROF)

