diff --git a/cmake_support/OST.cmake b/cmake_support/OST.cmake index 8151713e6d76424c23fa92f195695e2a4b5c43bf..2e5a58c5950bc927300d128ebdee8000002a6467 100644 --- a/cmake_support/OST.cmake +++ b/cmake_support/OST.cmake @@ -942,6 +942,7 @@ endmacro() set(_BOOST_MIN_VERSION 1.31) macro(setup_boost) + set (Boost_NO_BOOST_CMAKE TRUE) # starting with CMake 3.11 we could use the following instead of the foreach # find_package(Boost ${_BOOST_MIN_VERSION} COMPONENTS # python${Python_VERSION_MAJOR}${Python_VERSION_MINOR} REQUIRED)