diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindVTune.cmake | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/cmake/FindVTune.cmake b/cmake/FindVTune.cmake index 3c16dba..7e0e875 100644 --- a/cmake/FindVTune.cmake +++ b/cmake/FindVTune.cmake @@ -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() |