Skip to content

Commit

Permalink
Use MSVC_RUNTIME_LIBRARY
Browse files Browse the repository at this point in the history
  • Loading branch information
normanmaurer committed Oct 28, 2024
1 parent fea935c commit 87838d8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions boringssl-static/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@
<exec executable="cmake" failonerror="true" dir="${boringsslBuildDir}" resolveexecutable="true">
<arg value="-DCMAKE_BUILD_TYPE=Release" />
<arg value="-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE" />
<arg value="-DMSVC_RUNTIME_LIBRARY=MultiThread=MultiThreaded" />
<arg value="-DCMAKE_C_COMPILER=clang" />
<arg value="-DCMAKE_CXX_COMPILER=clang++" />
<arg value="-DFIPS=1" />
Expand Down Expand Up @@ -521,6 +522,7 @@
</if>
<exec executable="cmake" failonerror="true" dir="${boringsslHome}" resolveexecutable="true">
<arg value="-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE" />
<arg value="-DMSVC_RUNTIME_LIBRARY=MultiThread=MultiThreaded" />
<arg value="-DCMAKE_BUILD_TYPE=Release" />
<arg value="-DCMAKE_ASM_FLAGS_RELEASE=${cmakeAsmFlags}" />
<arg value="-DCMAKE_C_FLAGS_RELEASE=${cmakeCFlags}" />
Expand Down Expand Up @@ -864,6 +866,7 @@
</if>
<exec executable="cmake" failonerror="true" dir="${boringsslHome}" resolveexecutable="true">
<arg value="-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE" />
<arg value="-DMSVC_RUNTIME_LIBRARY=MultiThread=MultiThreaded" />
<arg value="-DCMAKE_BUILD_TYPE=Release" />
<arg value="-DCMAKE_ASM_FLAGS_RELEASE=${cmakeAsmFlags}" />
<arg value="-DCMAKE_C_FLAGS_RELEASE=${cmakeCFlags}" />
Expand Down Expand Up @@ -1297,6 +1300,7 @@
<mkdir dir="${boringsslHome}" />
<exec executable="cmake" failonerror="true" dir="${boringsslHome}" resolveexecutable="true">
<arg value="-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE" />
<arg value="-DMSVC_RUNTIME_LIBRARY=MultiThread=MultiThreaded" />
<arg value="-DCMAKE_BUILD_TYPE=Release" />
<arg value="-DCMAKE_ASM_FLAGS_RELEASE=${cmakeAsmFlags}" />
<arg value="-DCMAKE_C_FLAGS_RELEASE=${cmakeCFlags}" />
Expand Down Expand Up @@ -1544,6 +1548,7 @@
<mkdir dir="${boringsslHome}" />
<exec executable="cmake" failonerror="true" dir="${boringsslHome}" resolveexecutable="true">
<arg value="-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE" />
<arg value="-DMSVC_RUNTIME_LIBRARY=MultiThread=MultiThreaded" />
<arg value="-DCMAKE_BUILD_TYPE=Release" />
<arg value="-DCMAKE_ASM_FLAGS_RELEASE=${cmakeAsmFlags}" />
<arg value="-DCMAKE_C_FLAGS_RELEASE=${cmakeCFlags}" />
Expand Down

0 comments on commit 87838d8

Please sign in to comment.