File tree 2 files changed +7
-0
lines changed
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ Please see [CONTRIBUTING.md](https://github.com./cucumber/cucumber/blob/master/CO
8
8
9
9
### Fixed
10
10
11
+ * Fix statically linking ` boost_system ` ([ #197 ] ( https://github.com./cucumber/cucumber-cpp/pull/197 ) Matthieu Longo)
12
+
11
13
## [ 0.5] ( https://github.com./cucumber/cucumber-cpp/compare/v0.4...v0.5 ) (2 July 2018)
12
14
13
15
### Added
Original file line number Diff line number Diff line change @@ -112,6 +112,11 @@ if(Boost_SYSTEM_LIBRARY AND NOT TARGET Boost::system)
112
112
"IMPORTED_LOCATION" "${Boost_SYSTEM_LIBRARY} "
113
113
"INTERFACE_LINK_LIBRARIES" "Boost::boost"
114
114
)
115
+ if (Boost_USE_STATIC_LIBS)
116
+ set_target_properties (Boost::system PROPERTIES
117
+ "COMPILE_DEFINITIONS" BOOST_ERROR_CODE_HEADER_ONLY=1
118
+ )
119
+ endif ()
115
120
endif ()
116
121
if (Boost_FILESYSTEM_LIBRARY AND NOT TARGET Boost::filesystem)
117
122
add_library (Boost::filesystem ${LIBRARY_TYPE} IMPORTED )
You can’t perform that action at this time.
0 commit comments