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
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)