Skip to content

Commit

Permalink
refine FindCaliper to ignore global caliper installs
Browse files Browse the repository at this point in the history
  • Loading branch information
slabasan committed Sep 27, 2024
1 parent 7299158 commit 2b37480
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/c/cmake/thirdparty/FindCaliper.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
message(STATUS "Looking for Caliper in: ${caliper_DIR}")

find_package(caliper REQUIRED
PATHS ${caliper_DIR}/share/cmake/caliper)
PATHS ${caliper_DIR}/share/cmake/caliper
NO_DEFAULT_PATH
NO_CMAKE_ENVIRONMENT_PATH
NO_CMAKE_PATH
NO_SYSTEM_ENVIRONMENT_PATH
NO_CMAKE_SYSTEM_PATH)

message(STATUS "FOUND Caliper: ${caliper_INSTALL_PREFIX}")

Expand Down

0 comments on commit 2b37480

Please sign in to comment.