Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions ports/boost-modular-build-helper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,13 @@ string(STRIP "${CFLAGS}" CFLAGS)
string(REGEX REPLACE "[ \t\r\n]+" " " LDFLAGS "${LDFLAGS}")
string(STRIP "${LDFLAGS}" LDFLAGS)

# When building a static lib with MSVC, you need to use archiveflags instead of linkflags.
# This is set via the b2 command line since putting <archiveflags> in the user-config.jam
# file doesn't seem to work like it does for <linkflags>.
if(MSVC AND NOT BUILD_SHARED_LIBS)
list(APPEND B2_OPTIONS "\"archiveflags=${LDFLAGS}\"")
endif()

if(NOT CXXFLAGS STREQUAL "")
string(REPLACE " " " <cxxflags>" CXXFLAGS "<cxxflags>${CXXFLAGS}")
endif()
Expand Down
2 changes: 1 addition & 1 deletion ports/boost-modular-build-helper/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "boost-modular-build-helper",
"version": "1.78.0",
"port-version": 2,
"port-version": 3,
"description": "Internal vcpkg port used to build Boost libraries",
"dependencies": [
"boost-uninstall",
Expand Down
5 changes: 5 additions & 0 deletions versions/b-/boost-modular-build-helper.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "4211622aebc0f2bbaaee3edab6dcbc755d1cac26",
"version": "1.78.0",
"port-version": 3
},
{
"git-tree": "9400b3bfdc93a165b3b509a76c59107c020113a6",
"version": "1.78.0",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@
},
"boost-modular-build-helper": {
"baseline": "1.78.0",
"port-version": 2
"port-version": 3
},
"boost-move": {
"baseline": "1.78.0",
Expand Down