mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
cmake: use string(APPEND ..) to append to string
more readable and less repeating this way. Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
164fb13fc9
commit
706997b7e6
@ -16,7 +16,7 @@ macro(build_spdk)
|
||||
include(CheckCCompilerFlag)
|
||||
check_c_compiler_flag("-Wno-address-of-packed-member" HAS_WARNING_ADDRESS_OF_PACKED_MEMBER)
|
||||
if(HAS_WARNING_ADDRESS_OF_PACKED_MEMBER)
|
||||
set(spdk_CFLAGS "${spdk_CFLAGS} -Wno-address-of-packed-member")
|
||||
string(APPEND spdk_CFLAGS " -Wno-address-of-packed-member")
|
||||
endif()
|
||||
include(ExternalProject)
|
||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES "amd64|x86_64|AMD64")
|
||||
|
Loading…
Reference in New Issue
Block a user