Skip to content

Commit

Permalink
Fix -G windows cmake execution
Browse files Browse the repository at this point in the history
  • Loading branch information
8W9aG committed Aug 28, 2018
1 parent 851037d commit d2ad217
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/nfbuildwindows.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,15 @@ def generateProject(self,
cmake_call = [
self.cmake_binary,
'..',
'-GNinja']
'-G']
if android or android_arm:
android_abi = 'x86_64'
android_toolchain_name = 'x86_64-llvm'
if android_arm:
android_abi = 'arm64-v8a'
android_toolchain_name = 'arm64-llvm'
cmake_call.extend([
'Ninja',
'-DANDROID=1',
'-DCMAKE_TOOLCHAIN_FILE=' + self.android_ndk_folder + '/build/cmake/android.toolchain.cmake',
'-DANDROID_NDK=' + self.android_ndk_folder,
Expand Down

0 comments on commit d2ad217

Please sign in to comment.