Skip to content

Commit

Permalink
Merge pull request #629 from jrl-umi3218/topic/fix-boost
Browse files Browse the repository at this point in the history
findboost: fix logic
  • Loading branch information
nim65s authored Oct 31, 2023
2 parents 0b4cdaa + a0ee57d commit 996160f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions boost/FindBoost.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,8 @@ if (NOT Boost_NO_BOOST_CMAKE)
find_package_handle_standard_args(Boost HANDLE_COMPONENTS CONFIG_MODE)
_boost_set_legacy_variables_from_config()

# Restore project's policies
cmake_policy(POP)
return()
endif()
endif()
Expand Down Expand Up @@ -2588,6 +2590,3 @@ list(REMOVE_DUPLICATES _Boost_COMPONENTS_SEARCHED)
list(SORT _Boost_COMPONENTS_SEARCHED)
set(_Boost_COMPONENTS_SEARCHED "${_Boost_COMPONENTS_SEARCHED}"
CACHE INTERNAL "Components requested for this build tree.")

# Restore project's policies
cmake_policy(POP)

0 comments on commit 996160f

Please sign in to comment.