fix JIT profiling with VTune

This commit is contained in:
RSDuck
2023-04-13 01:46:10 +02:00
parent 613280d3b4
commit a864f845e0
2 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,10 @@
find_path(VTUNE_PATH "")
include_directories("${VTUNE_PATH}/include")
link_directories("${VTUNE_PATH}/lib64")
set(VTUNE_INCLUDE_DIR "${VTUNE_PATH}/include")
if (WIN32)
set(VTUNE_LIBRARY "${VTUNE_PATH}/lib64/jitprofiling.lib")
else()
set(VTUNE_LIBRARY "${VTUNE_PATH}/lib64/jitprofiling.a")
endif()