Cmake: Update vtune paths

This commit is contained in:
Ziemas 2021-08-21 22:35:50 +02:00 committed by lightningterror
parent 2dbfe9f743
commit 90a198e3f1
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@
# VTUNE_LIBRARIES path to vtune libs # VTUNE_LIBRARIES path to vtune libs
find_path(VTUNE_INCLUDE_DIRS NAMES jitprofiling.h PATHS find_path(VTUNE_INCLUDE_DIRS NAMES jitprofiling.h PATHS
/opt/intel/oneapi/vtune/latest/include
/opt/intel/vtune_amplifier_xe_2018/include /opt/intel/vtune_amplifier_xe_2018/include
/opt/intel/vtune_amplifier_xe_2017/include /opt/intel/vtune_amplifier_xe_2017/include
/opt/intel/vtune_amplifier_xe_2016/include /opt/intel/vtune_amplifier_xe_2016/include
@ -13,12 +14,14 @@ find_path(VTUNE_INCLUDE_DIRS NAMES jitprofiling.h PATHS
if(${PCSX2_TARGET_ARCHITECTURES} MATCHES "i386") if(${PCSX2_TARGET_ARCHITECTURES} MATCHES "i386")
find_library(VTUNE_LIBRARIES NAMES libjitprofiling.a PATHS find_library(VTUNE_LIBRARIES NAMES libjitprofiling.a PATHS
/opt/intel/oneapi/vtune/latest/lib32
/opt/intel/vtune_amplifier_xe_2018/lib32 /opt/intel/vtune_amplifier_xe_2018/lib32
/opt/intel/vtune_amplifier_xe_2017/lib32 /opt/intel/vtune_amplifier_xe_2017/lib32
/opt/intel/vtune_amplifier_xe_2016/lib32 /opt/intel/vtune_amplifier_xe_2016/lib32
) )
else() else()
find_library(VTUNE_LIBRARIES NAMES libjitprofiling.a PATHS find_library(VTUNE_LIBRARIES NAMES libjitprofiling.a PATHS
/opt/intel/oneapi/vtune/latest/lib64
/opt/intel/vtune_amplifier_xe_2018/lib64 /opt/intel/vtune_amplifier_xe_2018/lib64
/opt/intel/vtune_amplifier_xe_2017/lib64 /opt/intel/vtune_amplifier_xe_2017/lib64
/opt/intel/vtune_amplifier_xe_2016/lib64 /opt/intel/vtune_amplifier_xe_2016/lib64