From 8955a2757783a5f08bc8539b143f6b91af459351 Mon Sep 17 00:00:00 2001 From: Suleyman TURKMEN Date: Sun, 26 May 2024 22:50:47 +0300 Subject: [PATCH] minor cosmetic changes --- 3rdparty/libjpeg-turbo/CMakeLists.txt | 4 +++- 3rdparty/libjpeg-turbo/src/simd/CMakeLists.txt | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/3rdparty/libjpeg-turbo/CMakeLists.txt b/3rdparty/libjpeg-turbo/CMakeLists.txt index 79ffab9cd3..5ab3ee11e4 100644 --- a/3rdparty/libjpeg-turbo/CMakeLists.txt +++ b/3rdparty/libjpeg-turbo/CMakeLists.txt @@ -249,7 +249,9 @@ set_target_properties(${JPEG_LIBRARY} ) if(ENABLE_SOLUTION_FOLDERS) - set_target_properties(${JPEG_LIBRARY} PROPERTIES FOLDER "3rdparty") + set_target_properties(${JPEG_LIBRARY} PROPERTIES FOLDER "3rdparty/jpeg") + set_target_properties(jpeg12-static PROPERTIES FOLDER "3rdparty/jpeg") + set_target_properties(jpeg16-static PROPERTIES FOLDER "3rdparty/jpeg") endif() if(NOT BUILD_SHARED_LIBS) diff --git a/3rdparty/libjpeg-turbo/src/simd/CMakeLists.txt b/3rdparty/libjpeg-turbo/src/simd/CMakeLists.txt index 023795598a..48944c6bfe 100644 --- a/3rdparty/libjpeg-turbo/src/simd/CMakeLists.txt +++ b/3rdparty/libjpeg-turbo/src/simd/CMakeLists.txt @@ -2,7 +2,7 @@ macro(simd_fail message) if(REQUIRE_SIMD) message(FATAL_ERROR "${message}.") else() - message(WARNING "${message}. Performance will suffer.") + message(STATUS "${message}. Performance will suffer.") set(WITH_SIMD 0 PARENT_SCOPE) endif() endmacro() @@ -211,6 +211,9 @@ if(MSVC_IDE OR XCODE) add_library(simd OBJECT ${CPU_TYPE}/jsimd.c) add_custom_target(simd-objs DEPENDS ${SIMD_OBJS}) add_dependencies(simd simd-objs) + set_target_properties(simd PROPERTIES FOLDER "3rdparty/jpeg") + set_target_properties(simd-objs PROPERTIES FOLDER "3rdparty/jpeg") + set_target_properties(jsimdcfg PROPERTIES FOLDER "3rdparty/jpeg") else() add_library(simd OBJECT ${SIMD_SOURCES} ${CPU_TYPE}/jsimd.c) endif()