Skip to content

Commit

Permalink
Update ports/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
JackBoosY authored Apr 20, 2021
1 parent 5b66887 commit 80d5126
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ports/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,9 @@ get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)]]

if (VCPKG_TARGET_IS_OSX)
# see #16259 for details why this replacement is necessary.
file(GLOB_RECURSE targets_files "${release_share}/*[Tt]argets.cmake")
file(GLOB targets_files "${release_share}/*[Tt]argets.cmake")
if (targets_files STREQUAL "")
file(GLOB_RECURSE targets_files "${release_share}/*[Cc]onfig.cmake")
file(GLOB targets_files "${release_share}/*[Cc]onfig.cmake")
endif()
foreach(targets_file IN LISTS targets_files)
file(READ "${targets_file}" targets_content)
Expand Down

0 comments on commit 80d5126

Please sign in to comment.