mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-21 17:59:50 +00:00
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:
parent
3cf8003a55
commit
aac34f037f
2 changed files with 15 additions and 0 deletions
|
@ -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})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue