Skip to content
Browse files

Quote argument in cmake command to ensure number of params is correct…

…ly handled when variams is empty.
  • Loading branch information...
1 parent 740142a commit 7f1b7a063d08cec886b1e7ae94d4bcd2e4cb14cb @stevenlovegrove committed Dec 16, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeModules/AndroidUtils.cmake
View
2 CMakeModules/AndroidUtils.cmake
@@ -100,7 +100,7 @@ void ANativeActivity_onCreate(ANativeActivity * app, void * ud, size_t udsize) {
)
# Pick first platform from this list.
- string(REGEX MATCH "^.*[^\n]" android_target ${android_target_list} )
+ string(REGEX MATCH "^.*[^\n]" android_target "${android_target_list}" )
# Generate ant build scripts for making APK
execute_process(

0 comments on commit 7f1b7a0

Please sign in to comment.
Something went wrong with that request. Please try again.