Cmake: Link vtune in utilities

This commit is contained in:
Ziemas 2021-08-21 23:36:01 +02:00 committed by lightningterror
parent 90a198e3f1
commit 5f3c1816f9
2 changed files with 4 additions and 4 deletions

View File

@ -97,6 +97,10 @@ else()
)
endif()
if(USE_VTUNE)
target_link_libraries(Utilities PUBLIC Vtune::Vtune)
endif()
target_link_libraries(Utilities PRIVATE ${LIBC_LIBRARIES} PUBLIC wxWidgets::all)
target_compile_features(Utilities PUBLIC cxx_std_17)
target_include_directories(Utilities PUBLIC ../../../3rdparty/include ../../include PRIVATE ../../include/Utilities .)

View File

@ -1280,10 +1280,6 @@ foreach(res_file IN ITEMS
add_custom_command(OUTPUT "${res_rec_vp_src}/${res_file}.h" COMMAND ${BIN2CPP} "${res_rec_vp_src}/${res_file}.png" "${res_rec_vp_src}/${res_file}" )
endforeach()
if(USE_VTUNE)
target_link_libraries(PCSX2 PRIVATE Vtune::Vtune)
endif()
# additonal include directories
target_include_directories(PCSX2 PRIVATE
.