Skip to content

Commit

Permalink
Find without cache for imported location
Browse files Browse the repository at this point in the history
Previously found library will use hint instead of previous search

Co-authored-by: Martin Pecka <[email protected]>
  • Loading branch information
devrite and peci1 authored Oct 25, 2023
1 parent a9bd3cd commit 09c2469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/catkin_libraries.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function(catkin_find_library_imported_location_library VAR LIB)
list(APPEND imported_location_libnames ${imported_location_name})
endif()
if(imported_location_libnames)
find_library(imported_location_library NAMES ${imported_location_libnames} HINTS ${imported_location_dir})
find_library(imported_location_library NAMES ${imported_location_libnames} HINTS ${imported_location_dir} NO_CACHE)
endif()
set(${VAR} "${imported_location_library}" PARENT_SCOPE)
endfunction()
Expand Down

0 comments on commit 09c2469

Please sign in to comment.