Require at least Boost 1.75
Apparently 1.66 is broken as it does not invoke the `on_exit` handler when the process finishes. When switching from 1.66 to 1.75 on Leap 15.4 the problem is not reproducible. Maybe this was already fixed in an earlier version than 1.75 but 1.75 was the next version available on Leap 15.4 to test with.
This commit is contained in:
parent
802937264b
commit
f444574cb8
|
@ -58,7 +58,8 @@ if (USE_BOOST_PROCESS)
|
|||
endif ()
|
||||
# add Boost::boost target which represents include directory for header-only deps and add Boost::filesystem as it is
|
||||
# needed by Boost.Process
|
||||
set(BOOST_ARGS REQUIRED)
|
||||
set(BOOST_ARGS 1.75 REQUIRED) # 1.66 does not invoke on_exit handler correctly, 1.75 was the next version I tested and it
|
||||
# worked
|
||||
list(APPEND BOOST_ARGS COMPONENTS filesystem)
|
||||
use_package(TARGET_NAME Boost::boost PACKAGE_NAME Boost PACKAGE_ARGS "${BOOST_ARGS}")
|
||||
use_package(TARGET_NAME Boost::filesystem PACKAGE_NAME Boost PACKAGE_ARGS "${BOOST_ARGS}")
|
||||
|
|
Loading…
Reference in New Issue