Skip to content

Commit

Permalink
Merge pull request #1160 from DARMA-tasking/1159-bugs-in-find-package…
Browse files Browse the repository at this point in the history
…-local

#1159: build: correct messages when package not found
  • Loading branch information
PhilMiller authored Dec 15, 2020
2 parents 34fb380 + d2cffac commit 8b6f242
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmake/local_package.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ macro(find_package_local pkg_name pkg_directory pkg_other_name)

foreach(prefix ${prefix_args})
set(potential_path ${pkg_directory}/${prefix})
set(${pkg_name}_DIR ${potential_path})
# message("prefix: ${potential_path}")
if (EXISTS "${${pkg_name}_DIR}${pkg_prefix}")
if (EXISTS "${potential_path}")
# message(STATUS "find_package_local: trying path: ${potential_path}")

# Search locally only for package based on the user's supplied path; if
Expand Down

0 comments on commit 8b6f242

Please sign in to comment.