File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
repos/spack_repo/builtin/packages/precice Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1+ --- a/CMakeLists.txt
2+ +++ b/CMakeLists.txt
3+ @@ -270 +270 @@ set_target_properties(precice PROPERTIES
4+ - target_compile_definitions(precice PRIVATE BOOST_ALL_DYN_LINK BOOST_ASIO_ENABLE_OLD_SERVICES BOOST_GEOMETRY_DISABLE_DEPRECATED_03_WARNING)
5+ + target_compile_definitions(precice PRIVATE BOOST_ALL_DYN_LINK BOOST_ASIO_ENABLE_OLD_SERVICES BOOST_GEOMETRY_DISABLE_DEPRECATED_03_WARNING BOOST_ERROR_CODE_HEADER_ONLY)
6+
Original file line number Diff line number Diff line change @@ -131,6 +131,12 @@ class Precice(CMakePackage):
131131 when = "@2.0" ,
132132 sha256 = "4017a89e4f77f623807a6cd057d9a095788879310f1bddd98837920d252b1ac7" ,
133133 )
134+ # Fixes linking to boost system by using BOOST_ERROR_CODE_HEADER_ONLY
135+ patch (
136+ "boost-system-header-only.patch" ,
137+ when = "@2.3.0" ,
138+ sha256 = "6a38783eec984a59991f0895d411212e0ba1ebd2ec2c8f53f962df8facbc0344" ,
139+ )
134140
135141 def xsdk_tpl_args (self ):
136142 return [
You can’t perform that action at this time.
0 commit comments