Skip to content

Commit a2f77c0

Browse files
authored
Merge pull request #59 from DLR-SC/occt-static-no-icremental-linking
Try to disable LTCG for OCCT static
2 parents 85b0d23 + 6b81ad0 commit a2f77c0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

opencascade-static/bld.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ cmake -G "Ninja" .. ^
99
-D BUILD_MODULE_Draw=OFF ^
1010
-D 3RDPARTY_DIR:FILEPATH="%LIBRARY_PREFIX%" ^
1111
-D CMAKE_BUILD_TYPE="Release" ^
12+
-D CMAKE_EXE_LINKER_FLAGS_RELEASE="/LTCG-" ^
13+
-D CMAKE_CXX_FLAGS="/GL-" ^
1214
-D USE_TBB=ON ^
1315
-D USE_FREEIMAGE=ON ^
1416
-D BUILD_LIBRARY_TYPE=Static ^

0 commit comments

Comments
 (0)