Skip to content

Commit ce56e4d

Browse files
committed
Define BlocksRuntime_INCLUDE_DIR
1 parent 9084cb2 commit ce56e4d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

phases/18-libdispatch.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ cd "%BUILD_DIR%" || exit /b 1
2222
echo.
2323
echo ### Running cmake
2424
:: CXX and linker flags below are to produce PDBs for release builds.
25-
:: BlocksRuntime parameters provided to use blocks runtime from libobjc2 with libdispatch-own-blocksruntime.patch.
2625
:: libdispatch only supports building with clang-cl frontend.
2726
cmake .. %CMAKE_OPTIONS% ^
2827
-D BUILD_SHARED_LIBS=YES ^
@@ -31,6 +30,7 @@ cmake .. %CMAKE_OPTIONS% ^
3130
-D CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO="/INCREMENTAL:NO /DEBUG /OPT:REF /OPT:ICF" ^
3231
-D CMAKE_C_COMPILER=clang-cl ^
3332
-D CMAKE_CXX_COMPILER=clang-cl ^
33+
-D BlocksRuntime_INCLUDE_DIR="%INSTALL_PREFIX%\include\BlocksRuntime" ^
3434
|| exit /b 1
3535

3636
echo.

phases/19-libobjc2.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ echo ### Running cmake
1919
cmake .. %CMAKE_OPTIONS% ^
2020
-D GNUSTEP_CONFIG= ^
2121
-D EMBEDDED_BLOCKS_RUNTIME=OFF ^
22+
-D BlocksRuntime_INCLUDE_DIR="%INSTALL_PREFIX%\include\BlocksRuntime" ^
2223
|| exit /b 1
2324

2425
echo.

0 commit comments

Comments
 (0)