cpp-hocon: fix build with boost 1.89
Boost 1.89 removed the boost_system stub library. Remove the `system` component from the BOOST_COMPONENTS list.
This commit is contained in:
@@ -27,6 +27,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
substituteInPlace CMakeLists.txt --replace-fail \
|
||||
"cmake_minimum_required(VERSION 3.2.2)" \
|
||||
"cmake_minimum_required(VERSION 3.10)"
|
||||
|
||||
# boost 1.89 removed the boost_system stub library
|
||||
substituteInPlace CMakeLists.txt --replace-fail \
|
||||
'list(APPEND BOOST_COMPONENTS thread date_time chrono filesystem system program_options)' \
|
||||
'list(APPEND BOOST_COMPONENTS thread date_time chrono filesystem program_options)'
|
||||
'';
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-error";
|
||||
|
||||
Reference in New Issue
Block a user