diff options
Diffstat (limited to 'scripts/boost/generate-ports.ps1')
| -rw-r--r-- | scripts/boost/generate-ports.ps1 | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/scripts/boost/generate-ports.ps1 b/scripts/boost/generate-ports.ps1 index 200b8376e..36ddfe66e 100644 --- a/scripts/boost/generate-ports.ps1 +++ b/scripts/boost/generate-ports.ps1 @@ -46,6 +46,10 @@ function Generate() $controlDeps = ($Depends | sort) -join ", "
$versionSuffix = ""
+ if ($Name -eq "iostreams")
+ {
+ $versionsuffix = "-1"
+ }
mkdir "$portsDir/boost-$PortName" -erroraction SilentlyContinue | out-null
$controlLines = @(
@@ -165,9 +169,6 @@ function Generate() ")"
)
}
- elseif ($PortName -eq "iostreams")
- {
- }
else
{
$portfileLines += @(
@@ -176,13 +177,11 @@ function Generate() )
}
}
- if ($PortName -ne "iostreams")
- {
- $portfileLines += @(
- "include(`${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)"
- "boost_modular_headers(SOURCE_PATH `${SOURCE_PATH})"
- )
- }
+
+ $portfileLines += @(
+ "include(`${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)"
+ "boost_modular_headers(SOURCE_PATH `${SOURCE_PATH})"
+ )
if (Test-Path "$scriptsDir/post-build-stubs/$PortName.cmake")
{
|
