Skip to content

Commit c58f743

Browse files
committed
Use 4 cores for building, specify configuration to Python build script.
1 parent 019fd0a commit c58f743

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ before_script:
3030
script:
3131
- mkdir build && cd build
3232
- cmake -DCMAKE_BUILD_TYPE=Release $CMAKE_OPTIONS ..
33-
- cmake --build . --config Release
33+
- cmake --build . --config Release -- -j4

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,7 @@ if(BUILD_PYTHON)
859859
CONFIGURE_COMMAND ""
860860
BUILD_COMMAND <SOURCE_DIR>/build-ios.py --arch=${CMAKE_OSX_ARCHITECTURES}
861861
--install-dir=<INSTALL_DIR> --suppress-stdout
862+
--configuration=$<CONFIG>
862863
INSTALL_COMMAND ""
863864

864865
BUILD_IN_SOURCE 1

0 commit comments

Comments
 (0)