Skip to content

Commit 730551c

Browse files
committed
Consolidate CMake options
1 parent d71de40 commit 730551c

3 files changed

Lines changed: 1 addition & 2 deletions

File tree

phases/11-libobjc2.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ cd build-${ABI_NAME}
2020

2121
${CMAKE} .. \
2222
${CMAKE_OPTIONS} \
23-
-DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" \
2423
-DGNUSTEP_CONFIG= `# prevent cmake from finding gnustep-config in install root` \
2524
-DOLDABI_COMPAT=false `# we're using gnustep-2.0 ABI, which may not be mixed with earlier versions'` \
2625

phases/12-libdispatch.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ cd build-${ABI_NAME}
2020

2121
${CMAKE} .. \
2222
${CMAKE_OPTIONS} \
23-
-DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" \
2423
-DBUILD_SHARED_LIBS=YES \
2524
-DINSTALL_PRIVATE_HEADERS=YES \
2625
`# use blocks runtime from libobjc2 with libdispatch-own-blocksruntime.patch` \

scripts/toolchain.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export LIBS="-lc++_shared"
5858
# common options for CMake-based projects
5959
# CMAKE_FIND_USE_CMAKE_PATH=false fixes finding incorrect libraries in $TOOLCHAIN/lib[64] instead of $TOOLCHAIN/sysroot/usr/lib/$ANDROID_TARGET, e.g. for libc++abi.a for libobjc2.
6060
CMAKE_OPTIONS=" \
61+
-DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" \
6162
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
6263
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} \
6364
-DCMAKE_FIND_USE_CMAKE_PATH=false \

0 commit comments

Comments
 (0)