forked from osmocom/wireshark
Match for contents of WIRESHARK_SIMD_FLAGS only if non-empty
Change-Id: I99e15b237c74783b455461ce58ba32f1f8202990 Reviewed-on: https://code.wireshark.org/review/2208 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
This commit is contained in:
parent
b70bb4654a
commit
30480da87a
|
@ -386,11 +386,12 @@ foreach(THIS_FLAG ${WIRESHARK_SIMD_TESTS})
|
|||
endif()
|
||||
endforeach()
|
||||
|
||||
string(REGEX MATCH -msse4.2
|
||||
HAVE_SSE4_2
|
||||
${WIRESHARK_SIMD_FLAGS}
|
||||
)
|
||||
message( STATUS "HAVE_SSE4_2: ${HAVE_SSE4_2}" )
|
||||
if ( ${WIRESHARK_SIMD_FLAGS} )
|
||||
string(REGEX MATCH -msse4.2
|
||||
HAVE_SSE4_2
|
||||
${WIRESHARK_SIMD_FLAGS}
|
||||
)
|
||||
endif()
|
||||
|
||||
check_c_compiler_flag(-fvisibility=hidden FVHIDDEN)
|
||||
if(FVHIDDEN)
|
||||
|
|
Loading…
Reference in New Issue