aboutsummaryrefslogtreecommitdiff
path: root/BuildMbedCrypto.cmake
diff options
context:
space:
mode:
authorKumar Gala <kumar.gala@linaro.org>2020-04-16 16:13:25 -0500
committerAnton Komlev <Anton.Komlev@arm.com>2020-06-16 10:24:26 +0000
commitab19e6fd1bbfd77334c784f0965011e39735d440 (patch)
tree67882b3d9de02b1e6deb2ace40038cd5b8cb9590 /BuildMbedCrypto.cmake
parentcba72a34011c1fc7b5569d5f25eac4b7f39d9dfa (diff)
downloadtrusted-firmware-m-ab19e6fd1bbfd77334c784f0965011e39735d440.tar.gz
Build: Fix cmake implicitly converting warnings
Fix warnings of the form: implicitly converting 'bool' to 'STRING' type. implicitly converting 'internal' to 'STRING' type. implicitly converting 'string' to 'STRING' type. by changing the type to STRING. Change-Id: I888126809cd0b9ae4841585979f8ebed6e357160 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Diffstat (limited to 'BuildMbedCrypto.cmake')
-rw-r--r--BuildMbedCrypto.cmake28
1 files changed, 14 insertions, 14 deletions
diff --git a/BuildMbedCrypto.cmake b/BuildMbedCrypto.cmake
index e697111eea..8ae08e38d0 100644
--- a/BuildMbedCrypto.cmake
+++ b/BuildMbedCrypto.cmake
@@ -86,22 +86,22 @@ externalproject_add(${MBEDCRYPTO_TARGET_NAME}
#Inherit the build setting of this project
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${MBEDCRYPTO_BUILD_TYPE}
#C compiler settings
- CMAKE_CACHE_ARGS -DCMAKE_C_COMPILER:string=${CMAKE_C_COMPILER}
- CMAKE_CACHE_ARGS -DCMAKE_C_COMPILER_ID:string=${CMAKE_C_COMPILER_ID}
- CMAKE_CACHE_ARGS -DCMAKE_C_FLAGS:string=${MBEDCRYPTO_C_FLAGS}
- CMAKE_CACHE_ARGS -DCMAKE_C_FLAGS_DEBUG:string=${CMAKE_C_FLAGS_DEBUG}
- CMAKE_CACHE_ARGS -DCMAKE_C_FLAGS_MINSIZEREL:string=${CMAKE_C_FLAGS_MINSIZEREL}
- CMAKE_CACHE_ARGS -DCMAKE_C_FLAGS_RELEASE:string=${CMAKE_C_FLAGS_RELEASE}
- CMAKE_CACHE_ARGS -DCMAKE_C_OUTPUT_EXTENSION:string=.o
- CMAKE_CACHE_ARGS -DCMAKE_C_COMPILER_WORKS:bool=true
+ CMAKE_CACHE_ARGS -DCMAKE_C_COMPILER:STRING=${CMAKE_C_COMPILER}
+ CMAKE_CACHE_ARGS -DCMAKE_C_COMPILER_ID:STRING=${CMAKE_C_COMPILER_ID}
+ CMAKE_CACHE_ARGS -DCMAKE_C_FLAGS:STRING=${MBEDCRYPTO_C_FLAGS}
+ CMAKE_CACHE_ARGS -DCMAKE_C_FLAGS_DEBUG:STRING=${CMAKE_C_FLAGS_DEBUG}
+ CMAKE_CACHE_ARGS -DCMAKE_C_FLAGS_MINSIZEREL:STRING=${CMAKE_C_FLAGS_MINSIZEREL}
+ CMAKE_CACHE_ARGS -DCMAKE_C_FLAGS_RELEASE:STRING=${CMAKE_C_FLAGS_RELEASE}
+ CMAKE_CACHE_ARGS -DCMAKE_C_OUTPUT_EXTENSION:STRING=.o
+ CMAKE_CACHE_ARGS -DCMAKE_C_COMPILER_WORKS:STRING=true
#Archiver settings
- CMAKE_CACHE_ARGS -DCMAKE_AR:string=${CMAKE_AR}
- CMAKE_CACHE_ARGS -DCMAKE_C_CREATE_STATIC_LIBRARY:internal=${_static_lib_command}
- CMAKE_CACHE_ARGS -DCMAKE_C_LINK_EXECUTABLE:string=${CMAKE_C_LINK_EXECUTABLE}
- CMAKE_CACHE_ARGS -DCMAKE_STATIC_LIBRARY_PREFIX_C:string=${CMAKE_STATIC_LIBRARY_PREFIX_C}
- CMAKE_CACHE_ARGS -DCMAKE_STATIC_LIBRARY_PREFIX_CXX:string=${CMAKE_STATIC_LIBRARY_PREFIX_CXX}
+ CMAKE_CACHE_ARGS -DCMAKE_AR:STRING=${CMAKE_AR}
+ CMAKE_CACHE_ARGS -DCMAKE_C_CREATE_STATIC_LIBRARY:STRING=${_static_lib_command}
+ CMAKE_CACHE_ARGS -DCMAKE_C_LINK_EXECUTABLE:STRING=${CMAKE_C_LINK_EXECUTABLE}
+ CMAKE_CACHE_ARGS -DCMAKE_STATIC_LIBRARY_PREFIX_C:STRING=${CMAKE_STATIC_LIBRARY_PREFIX_C}
+ CMAKE_CACHE_ARGS -DCMAKE_STATIC_LIBRARY_PREFIX_CXX:STRING=${CMAKE_STATIC_LIBRARY_PREFIX_CXX}
#Install location
- CMAKE_CACHE_ARGS -DCMAKE_INSTALL_PREFIX:string=${MBEDCRYPTO_INSTALL_DIR}
+ CMAKE_CACHE_ARGS -DCMAKE_INSTALL_PREFIX:STRING=${MBEDCRYPTO_INSTALL_DIR}
#Place for intermediate build files
BINARY_DIR ${MBEDCRYPTO_BINARY_DIR})