mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-22 22:01:06 -06:00
fix JIT profiling with VTune
This commit is contained in:
@ -122,7 +122,7 @@ if (ENABLE_JIT)
|
||||
target_compile_definitions(core PUBLIC JIT_ENABLED)
|
||||
|
||||
if (ENABLE_JIT_PROFILING)
|
||||
include(cmake/FindVTune.cmake)
|
||||
include(../cmake/FindVTune.cmake)
|
||||
add_definitions(-DJIT_PROFILING_ENABLED)
|
||||
endif()
|
||||
endif()
|
||||
@ -134,5 +134,6 @@ elseif(NOT APPLE)
|
||||
endif()
|
||||
|
||||
if (ENABLE_JIT_PROFILING)
|
||||
target_link_libraries(core PRIVATE jitprofiling)
|
||||
target_include_directories(core PRIVATE "${VTUNE_INCLUDE_DIR}")
|
||||
target_link_libraries(core PRIVATE "${VTUNE_LIBRARY}")
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user