Skip to content

Commit b8cf956

Browse files
committed
make DCMAKE_SYSTEM_VERSION part of the peroperty
1 parent d6ce364 commit b8cf956

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
<argument>--no-warn-unused-cli</argument>
188188
<argument>${cmake.generator}</argument>
189189
<argument>${cmake.toolset}</argument>
190-
<argument>-DCMAKE_SYSTEM_VERSION=${cmake.windows-sdk-version}</argument>
190+
<argument>${cmake.windows-sdk-version}</argument>
191191
</arguments>
192192
</configuration>
193193
</execution>
@@ -456,7 +456,7 @@
456456
<exportAntProperties>true</exportAntProperties>
457457
<target>
458458
<property environment="env"/>
459-
<condition property="cmake.windows-sdk-version" value="${env.AWS_CRT_WINDOWS_SDK_VERSION}" else="-DWINDOWS_SDK_VERSION_DUMMY=1">
459+
<condition property="cmake.windows-sdk-version" value="-DCMAKE_SYSTEM_VERSION=${env.AWS_CRT_WINDOWS_SDK_VERSION}" else="-DWINDOWS_SDK_VERSION_DUMMY=1">
460460
<isset property="env.AWS_CRT_WINDOWS_SDK_VERSION" />
461461
</condition>
462462
<echo message="Windows SDK version = ${cmake.windows-sdk-version}"/>

0 commit comments

Comments
 (0)