Add profiling (via oprofile) to the cmake build.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6782 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2011-01-08 05:27:18 +00:00
parent 3cf8003a55
commit aac34f037f
2 changed files with 15 additions and 0 deletions

View File

@ -153,6 +153,10 @@ if(PORTAUDIO_FOUND)
set(LIBS ${LIBS} portaudio)
endif(PORTAUDIO_FOUND)
if(OPROFILE_FOUND)
set(LIBS ${LIBS} opagent bfd)
endif(OPROFILE_FOUND)
add_library(core STATIC ${SRCS})
target_link_libraries(core ${LIBS})