Fix VTune static library dependencies

Since libcommon.a is also the last library to be linked, this has the
totally hacky but useful side-effect that it doesn't require people to
modify CMake files for temporarily adding VTune code to other Dolphin
libraries.
This commit is contained in:
Tillmann Karras
2015-02-22 20:49:30 +01:00
parent 03ffab4249
commit 387777ed72
2 changed files with 5 additions and 3 deletions

View File

@ -60,7 +60,7 @@ if(WIN32)
set(SRCS ${SRCS} ExtendedTrace.cpp)
endif(WIN32)
set(LIBS "${CMAKE_THREAD_LIBS_INIT}")
set(LIBS "${CMAKE_THREAD_LIBS_INIT}" ${VTUNE_LIBRARIES})
if(NOT APPLE AND NOT ANDROID)
set(LIBS ${LIBS} rt)
endif()