Skip to content

Commit

Permalink
update bundled FindBoost.cmake (#2792)
Browse files Browse the repository at this point in the history
cmake 3.13.0 added support for 1.69 borrowed findBoost.cmake and updated conditional for using it
  • Loading branch information
Russel Waters committed Jun 3, 2020
1 parent 027b7a5 commit 6c69c29
Show file tree
Hide file tree
Showing 2 changed files with 164 additions and 105 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ if (CMAKE_VERSION VERSION_GREATER 3.13 OR CMAKE_VERSION VERSION_EQUAL 3.13)
cmake_policy(SET CMP0077 NEW)
endif()

if (CMAKE_VERSION VERSION_LESS 3.11)
# compatibility for boost import targets use bundled 3.11 FindBoost.cmake
if (CMAKE_VERSION VERSION_LESS 3.13)
# compatibility for boost import targets use bundled 3.13 FindBoost.cmake
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/legacyModules")
endif ()

Expand Down
Loading

0 comments on commit 6c69c29

Please sign in to comment.