Skip to content

Commit

Permalink
Create boost config from boost if USE_CONFIG_FROM_BOOST is set
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjoe committed Feb 16, 2020
1 parent 86a74e0 commit 1f1e729
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmake/projects/Boost/schemes/url_sha1_boost.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ configure_file(


set(pass_boost_no_cmake_config )
if (@HUNTER_Boost_VERSION@ VERSION_GREATER_EQUAL 1.72.0)
if (@HUNTER_Boost_VERSION@ VERSION_GREATER_EQUAL 1.72.0 AND NOT USE_CONFIG_FROM_BOOST)
set(pass_boost_no_cmake_config --no-cmake-config)
endif()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ set(
--user-config="${boost_user_jam}"
)

if (@HUNTER_Boost_VERSION@ VERSION_GREATER_EQUAL 1.72.0)
if (@HUNTER_Boost_VERSION@ VERSION_GREATER_EQUAL 1.72.0 AND NOT USE_CONFIG_FROM_BOOST)
list(APPEND build_opts --no-cmake-config )
endif()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ set(
--with-@HUNTER_PACKAGE_COMPONENT@
)

if (@HUNTER_Boost_VERSION@ VERSION_GREATER_EQUAL 1.72.0)
if (@HUNTER_Boost_VERSION@ VERSION_GREATER_EQUAL 1.72.0 AND NOT USE_CONFIG_FROM_BOOST)
list(APPEND build_opts --no-cmake-config )
endif()

Expand Down

0 comments on commit 1f1e729

Please sign in to comment.