diff options
Diffstat (limited to 'cmake/scripts/common/CheckTargetPlatform.cmake')
| -rw-r--r-- | cmake/scripts/common/CheckTargetPlatform.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/scripts/common/CheckTargetPlatform.cmake b/cmake/scripts/common/CheckTargetPlatform.cmake index 82ee668..526e4bd 100644 --- a/cmake/scripts/common/CheckTargetPlatform.cmake +++ b/cmake/scripts/common/CheckTargetPlatform.cmake | |||
| @@ -9,9 +9,9 @@ function(check_target_platform dir target_platform build) | |||
| 9 | if(EXISTS ${dir} AND EXISTS ${dir}/platforms.txt) | 9 | if(EXISTS ${dir} AND EXISTS ${dir}/platforms.txt) |
| 10 | # get all the specified platforms | 10 | # get all the specified platforms |
| 11 | file(STRINGS ${dir}/platforms.txt platforms) | 11 | file(STRINGS ${dir}/platforms.txt platforms) |
| 12 | 12 | ||
| 13 | list( LENGTH platforms listlen ) | 13 | list( LENGTH platforms listlen ) |
| 14 | if(${listlen} EQUAL 1) | 14 | if(${listlen} EQUAL 1) |
| 15 | string(REPLACE " " ";" platforms ${platforms}) | 15 | string(REPLACE " " ";" platforms ${platforms}) |
| 16 | endif() | 16 | endif() |
| 17 | 17 | ||
