mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-02 06:09:13 +00:00
Fix OProfile discovery and drop bfd dependency
Adds a cmake module to correctly discover OProfile and adjusts the corresponding CMakeLists to make use of it. Additionally removes linking against the bfd library when compiling with OProfile because Dolphin does not use it.
This commit is contained in:
parent
c4fe2cd287
commit
b99d1a0a20
3 changed files with 25 additions and 6 deletions
|
@ -265,7 +265,7 @@ if(PORTAUDIO_FOUND)
|
|||
endif(PORTAUDIO_FOUND)
|
||||
|
||||
if(OPROFILE_FOUND)
|
||||
set(LIBS ${LIBS} opagent bfd)
|
||||
set(LIBS ${LIBS} ${OPROFILE_LIBRARIES})
|
||||
endif(OPROFILE_FOUND)
|
||||
|
||||
if(GDBSTUB)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue