cmake(3rdparty): drop simd warning in libjpeg-turbo
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Thu, 8 Dec 2022 16:44:45 +0000 (16:44 +0000)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Thu, 8 Dec 2022 17:22:51 +0000 (17:22 +0000)
3rdparty/libjpeg-turbo/src/simd/CMakeLists.txt

index ec76491d5f2f6b5928dd4a82785bd40567c97656..50553020041e5c719b1bd4ca730c539e25b3815f 100644 (file)
@@ -1,5 +1,5 @@
 macro(simd_fail message)
-    message(WARNING "${message}.  Performance will suffer.")
+    message(STATUS "libjpeg-turbo(SIMD): ${message}.  Performance will suffer.")
     set(WITH_SIMD 0 PARENT_SCOPE)
 endmacro()
 
@@ -361,7 +361,7 @@ if(NOT NEON_INTRINSICS)
       -x assembler-with-cpp -c ${CMAKE_CURRENT_BINARY_DIR}/gastest.S
     RESULT_VARIABLE RESULT OUTPUT_VARIABLE OUTPUT ERROR_VARIABLE ERROR)
   if(NOT RESULT EQUAL 0)
-    message(WARNING "GAS appears to be broken.  Using the full Neon SIMD intrinsics implementation.")
+    message(STATUS "libjpeg-turbo(SIMD): GAS appears to be broken.  Using the full Neon SIMD intrinsics implementation.")
     set(NEON_INTRINSICS 1 CACHE INTERNAL "" FORCE)
   endif()
 endif()