Skip to content

Commit

Permalink
#354: Remove no longer used variable in find_packge_local
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobDomagala committed Jun 25, 2024
1 parent 1581715 commit 25a453c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cmake/load_package.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ macro(find_package_local pkg_name pkg_other_name)
STATUS "find_package_local: pkg name=\"${pkg_name}\", ${pkg_name}_ROOT=\"${${pkg_name}_ROOT}\""
)

# Whether we loaded the package in the following loop with find_package()
set(${pkg_name}_PACKAGE_LOADED 0)

# Search locally only for package based on the user's supplied path;
find_package(
${pkg_name}
Expand All @@ -60,10 +57,6 @@ macro(find_package_local pkg_name pkg_other_name)
QUIET
REQUIRED
)

if(${pkg_name}_FOUND)
set(${pkg_name}_PACKAGE_LOADED 1)
endif()
endif()
endmacro(find_package_local)

Expand Down

0 comments on commit 25a453c

Please sign in to comment.