Merge pull request #6643 from lioncash/oprofile

CMakeLists: Define an OProfile target and use it
This commit is contained in:
Léo Lam 2018-04-14 23:12:17 +02:00 committed by GitHub
commit aafa8a10e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 4 deletions

View file

@ -146,7 +146,7 @@ if(USE_UPNP)
endif()
if(OPROFILE_FOUND)
target_link_libraries(common PRIVATE ${OPROFILE_LIBRARIES})
target_link_libraries(common PRIVATE OProfile::OProfile)
endif()
if(UNIX)